other no-pointer parameters in function arch_get_unmapped_area_topdown().
Reviewed-by: Mike Rapoport
Signed-off-by: Yang Fan
---
Changes in v2:
- Merge the two patches into one.
mm/mmap.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index f90
In according with other functions, remove the const qualifier of the
no-pointer parameters in function arch_get_unmapped_area_topdown().
Signed-off-by: Yang Fan
---
mm/mmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index f2d163ac827a
The variable 'addr' is redundant in arch_get_unmapped_area_topdown(),
just use parameter 'addr0' directly. Then remove the const qualifier
of the parameter, and change its name to 'addr'.
Signed-off-by: Yang Fan
---
mm/mmap.c | 3 +--
1 file changed, 1 insertion(
This patchset remove some redundancy in function
arch_get_unmapped_area_topdown().
[PATCH 1/2] mm/mmap.c: Remove redundant variable 'addr' in
arch_get_unmapped_area_topdown()
[PATCH 2/2] mm/mmap.c: Remove redundant const qualifier of the no-pointer
parameters
Yang Fan (2):
mm/mmap
es in no_hw_rfkill_list,
use DMI_PRODUCT_VERSION instead of DMI_BOARD_NAME.
Fixes: ae7c8cba3221 ("platform/x86: ideapad-laptop: add lenovo
RESCUER R720-15IKBN to no_hw_rfkill_list")
Signed-off-by: Yang Fan
---
drivers/platform/x86/ideapad-laptop.c | 2 +-
1 file changed, 1 insertion(+)
5 matches
Mail list logo