[staging:staging-next 151/155] drivers/staging/et131x/et131x.c:2383:11: warning: passing argument 2 of 'et131x_align_allocated_memory' from incompatible pointer type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

FYI, there are new compile warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
head:   40991e4fa6a91363ee45e8ee774a3c178f8c4159
commit: 55b45b8ef1f83178c4c87644b87481675909aa3e [151/155] staging: et131x: Remove fbr_lookup.real_physaddr
config: i386-randconfig-b291 

All warnings:

drivers/staging/et131x/et131x.c: In function 'et131x_config_rx_dma_regs':
drivers/staging/et131x/et131x.c:1905:2: warning: right shift count >= width of type [enabled by default]
drivers/staging/et131x/et131x.c:1929:2: warning: right shift count >= width of type [enabled by default]
drivers/staging/et131x/et131x.c: In function 'et131x_rx_dma_memory_alloc':
drivers/staging/et131x/et131x.c:2383:11: warning: passing argument 2 of 'et131x_align_allocated_memory' from incompatible pointer type [enabled by default]
drivers/staging/et131x/et131x.c:2275:13: note: expected 'u64 *' but argument is of type 'dma_addr_t *'
drivers/staging/et131x/et131x.c:2406:11: warning: passing argument 2 of 'et131x_align_allocated_memory' from incompatible pointer type [enabled by default]
drivers/staging/et131x/et131x.c:2275:13: note: expected 'u64 *' but argument is of type 'dma_addr_t *'
drivers/staging/et131x/et131x.c: In function 'free_send_packet':
drivers/staging/et131x/et131x.c:3589:5: warning: left shift count >= width of type [enabled by default]

vim +2383 drivers/staging/et131x/et131x.c

d2796743 Mark Einon 2011-10-20  2380  	/* Align Free Buffer Ring 1 on a 4K boundary */
d2796743 Mark Einon 2011-10-20  2381  	et131x_align_allocated_memory(adapter,
55b45b8e Mark Einon 2012-10-19  2382  				      &rx_ring->fbr[0]->ring_physaddr,
e592a9b0 Mark Einon 2011-10-20 @2383  				      &rx_ring->fbr[0]->offset, 0x0FFF);

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux