mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 23:16:49 +07:00
113f7ae5a9
__arch_virt_to_dma expects a virtual address pointer, but the ks8695 implementation of this macro treats it as an integer. Adding a type cast avoids hundreds of identical warning messages. Without this patch, building acs5k_defconfig results in: arch/arm/include/asm/dma-mapping.h: In function 'virt_to_dma': arch/arm/include/asm/dma-mapping.h:60:2: warning: passing argument 1 of '__virt_to_phys' makes integer from pointer without a cast [enabled by default] arch/arm/include/asm/memory.h:172:60: note: expected 'long unsigned int' but argument is of type 'void *' In file included from include/linux/dma-mapping.h:73:0, from include/linux/skbuff.h:33, from security/commoncap.c:21: Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Krzysztof Halasa <khc@pm.waw.pl> Cc: Daniel Silverstone <dsilvers@simtec.co.uk> Cc: Ben Dooks <ben-linux@fluff.org> |
||
---|---|---|
.. | ||
debug-macro.S | ||
devices.h | ||
entry-macro.S | ||
gpio-ks8695.h | ||
gpio.h | ||
hardware.h | ||
irqs.h | ||
memory.h | ||
regs-gpio.h | ||
regs-hpna.h | ||
regs-irq.h | ||
regs-lan.h | ||
regs-mem.h | ||
regs-misc.h | ||
regs-pci.h | ||
regs-switch.h | ||
regs-sys.h | ||
regs-timer.h | ||
regs-uart.h | ||
regs-wan.h | ||
timex.h | ||
uncompress.h |