From: Adrian Huang
Commit 8ab3820fd5b2 ("x86, kaslr: Return location from decompress_kernel")
enforces CONFIG_PHYSICAL_START as the minimum relocation address when
the kernel option CONFIG_RELOCATABLE is enabled. This change should be
included accordingly.
Signed-off-by: Adrian Huang
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 91a8f6cb06b33adc79fbf5f7381d907485767c00
Gitweb:
https://git.kernel.org/tip/91a8f6cb06b33adc79fbf5f7381d907485767c00
Author:Adrian Huang
AuthorDate:Thu, 17 Dec 2020 13:26:48 +08:00
From: Adrian Huang
The local variable 'retval' is assigned just for once in __do_sys_brk(),
and the function returns the value of the local variable right after
the assignment. Remove unnecessary assignment and local variable
declaration.
Signed-off-by: Adrian Huang
---
mm/mmap.c |
From: Adrian Huang
It is unnecessary to use the local variable 'error' in the mmap
syscall implementation function, so use the return statement
instead of it.
Signed-off-by: Adrian Huang
---
arch/x86/kernel/sys_x86_64.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
From: Adrian Huang
The member 'node' of worker_pool struct (per_cpu worker_pool) is
assigned in workqueue_init_early() and workqueue_init().
Commit 2186d9f940b6 ("workqueue: move wq_numa_init() to workqueue_init()")
fixes an issue by moving wq_numa_init() to workqueue_init()
If the persistent store is empty initially, the function 'erst_dbg_read'
returns a nonzero value. The better way is to return a zero indicating the
read operation reaches EOF.
Tested on two different servers.
Signed-off-by: Adrian Huang
---
drivers/acpi/apei/erst-dbg.c | 11
6 matches
Mail list logo