Re: [PATCH 2/2] netcp: add more __le32 annotations

2015-12-11 Thread David Miller
From: Arnd Bergmann Date: Tue, 08 Dec 2015 16:32:59 +0100 > The handling of epib and psdata remains a bit unclear in the driver, > as we access the same fields both as CPU-endian and through DMA > from the device. > > Sparse warns about this: > ti/netcp_core.c:1147:21: warning: incorrect type in

[PATCH 2/2] netcp: add more __le32 annotations

2015-12-08 Thread Arnd Bergmann
The handling of epib and psdata remains a bit unclear in the driver, as we access the same fields both as CPU-endian and through DMA from the device. Sparse warns about this: ti/netcp_core.c:1147:21: warning: incorrect type in assignment (different base types) ti/netcp_core.c:1147:21:expected