Skip to content

x86: fix build warning int-to-pointer-cast

Vamshi K Sthambamkadi lkml 2 versions – Applied

Status from this message: The following commit has been merged into the x86/boot branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied
  2. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

Copied kstrtoul & _kstrtoul correctly from lib/kstrtox.c to boot code as suggested by Borislav petkov <[email protected]>

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2x86: add kstrtoul() converter func to boot codearch/x86/boot/string.c arch/x86/boot/string.h+44 -00 replies
2/2x86: fix build warning int-to-pointer-castarch/x86/boot/compressed/acpi.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

Please review.

Changes in v3:
Copied kstrtoul & _kstrtoul correctly from lib/kstrtox.c to boot code as suggested by Borislav petkov <[email protected]>

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 <[email protected]>

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(-)
Signature · 1 line
2.7.4