** Changed in: linux-raspi2 (Ubuntu Bionic)
Importance: Undecided => Low
** Changed in: linux-raspi2 (Ubuntu Bionic)
Status: New => Confirmed
** Changed in: linux-raspi2 (Ubuntu Bionic)
Assignee: (unassigned) => Juerg Haefliger (juergh)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1847432
Title:
bcm2835-sdhost: Lots of Compile warnings
Status in linux-raspi2 package in Ubuntu:
New
Status in linux-raspi2 source package in Bionic:
Confirmed
Bug description:
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]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1847432/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp