[PATCH v3 0/2] x86: fix build warning int-to-pointer-cast

From: Vamshi K Sthambamkadi
Date: Thu Apr 23 2020 - 08:40:35 EST


Please review.

Changes in v3:
Copied kstrtoul & _kstrtoul correctly from lib/kstrtox.c to boot code
as suggested by Borislav petkov <bp@xxxxxxxxx>

Changes in v2:
On 32 bit, if supplied physical address overflow acpi_rsdp pointer
return 0 from get_cmdline_acpi_rsdp()
as suggested by Borislav Petkov <bp@xxxxxxxxx>

Changes in v1:
Supressed build warning through Makefile change

Thank you!

Vamshi K Sthambamkadi (2):
x86: add kstrtoul() converter func to boot code
x86: fix build warning int-to-pointer-cast

arch/x86/boot/compressed/acpi.c | 6 +++---
arch/x86/boot/string.c | 43 +++++++++++++++++++++++++++++++++++++++++
arch/x86/boot/string.h | 1 +
3 files changed, 47 insertions(+), 3 deletions(-)

--
2.7.4