diff options
author | Vamshi K Sthambamkadi <vamshi.k.sthambamkadi@gmail.com> | 2020-04-23 18:09:48 +0530 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-05-04 15:22:16 +0200 |
commit | 40ba9309c76f29d012a5cc0cf938f8ff7dc6fef2 (patch) | |
tree | 9f3ba83aa93958c5da3c27525a8c42aa8177d4aa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5fafbebc86a0043ca5bbd8d3ce4f63dc5a02ad8e (diff) |
x86/boot: Fix -Wint-to-pointer-cast build warning
Fix this warning when building 32-bit with
CONFIG_RANDOMIZE_BASE=y
CONFIG_MEMORY_HOTREMOVE=y
arch/x86/boot/compressed/acpi.c:316:9: warning: \
cast to pointer from integer of different size [-Wint-to-pointer-cast]
Have get_cmdline_acpi_rsdp() return unsigned long which is the proper
type to convert to a pointer of the respective width.
[ bp: Rewrite commit message, touch ups. ]
Signed-off-by: Vamshi K Sthambamkadi <vamshi.k.sthambamkadi@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1587645588-7130-3-git-send-email-vamshi.k.sthambamkadi@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions