]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: et131x: Revert changes from previous commit
authorMark Einon <mark.einon@gmail.com>
Tue, 6 Dec 2011 23:23:10 +0000 (23:23 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 23:03:11 +0000 (15:03 -0800)
commite0134715aa136088c649d0d2f833710c7c9e28b0
treed95a20e1acb6595d71b6c8481ff1aa31f371f03d
parentc542341dff7cd818015247d290aa0971888a7b08
staging: et131x: Revert changes from previous commit

In commit 834d0ee317b (uintxy_t removal) not all changes were trival text replacements, some converted u64 -> dma_addr_t.
In some configurations dma_addr_t is a u32, meaning that some bit operations cause build warnings. From Randy Dunlap:

----------------
on i386 (X86_32) builds:

drivers/staging/et131x/et131x.c:2483:8: warning: right shift count >= width of type
drivers/staging/et131x/et131x.c:2531:8: warning: right shift count >= width of type
----------------

Removed these by reverting dma_addr_t back to u64 types, as well as
reverting some other non-trivial changes from the aforementioned commit.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x.c