lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 30 Mar 2020 17:59:10 +0530 From: Vamshi K Sthambamkadi <vamshi.k.sthambamkadi@...il.com> To: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, hpa@...or.com, x86@...nel.org Cc: linux-kernel@...r.kernel.org Subject: [PATCH] x86: fix build warning int-to-pointer-cast Fixed build warning int-to-pointer-cast arising from x86/boot/compressed/acpi.c while casting return value of get_cmdline_acpi_rsdp(). Culprit line - rsdp = (struct acpi_table_rsdp *)get_cmdline_acpi_rsdp(); Signed-off-by: Vamshi K Sthambamkadi <vamshi.k.sthambamkadi@...il.com> --- arch/x86/boot/compressed/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index 7619742..216a7c2 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -88,6 +88,7 @@ ifdef CONFIG_X86_64 vmlinux-objs-y += $(obj)/pgtable_64.o endif +CFLAGS_acpi.o := -Wno-int-to-pointer-cast vmlinux-objs-$(CONFIG_ACPI) += $(obj)/acpi.o vmlinux-objs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a -- 2.7.4
Powered by blists - more mailing lists