Public bug reported:
Compiling Bionic 4.15 linux-raspi2 yields:
In file included from ./include/linux/kernel.h:14:0,
from ./include/linux/delay.h:22,
from drivers/mmc/host/bcm2835-sdhost.c:35:
drivers/mmc/host/bcm2835-sdhost.c: In function 'log_init':
./include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of
type 'unsigned int', but argument 3 has type 'dma_addr_t {aka long long
unsigned int}' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/printk.h:309:9: note: in definition of macro 'pr_printk_hash'
printk(level pr_fmt(format), ##__VA_ARGS__)
^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^~~~~~~~
./include/linux/printk.h:333:17: note: in expansion of macro 'KERN_INFO'
pr_printk_hash(KERN_INFO, fmt, ##__VA_ARGS__)
^~~~~~~~~
drivers/mmc/host/bcm2835-sdhost.c:249:3: note: in expansion of macro 'pr_info'
pr_info("sdhost: log_buf @ %p (%x)\n",
^~~~~~~
drivers/mmc/host/bcm2835-sdhost.c:249:35: note: format string is defined here
pr_info("sdhost: log_buf @ %p (%x)\n",
~^
%llx
drivers/mmc/host/bcm2835-sdhost.c: In function 'bcm2835_sdhost_dma_complete':
drivers/mmc/host/bcm2835-sdhost.c:530:20: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
log_event("DMA<", (u32)host->data, bcm2835_sdhost_read(host, SDHSTS));
^
[SNIP]
** Affects: linux-raspi2 (Ubuntu)
Importance: Undecided
Status: New
** Affects: linux-raspi2 (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: linux-raspi2 (Ubuntu Bionic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847432
Title:
bcm2835-sdhost: Lots of Compile warnings
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1847432/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs