staging: et131x: Use upper_32_bits() instead of '>> 32'
authorMark Einon <mark.einon@gmail.com>
Fri, 19 Oct 2012 22:08:15 +0000 (23:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:02:18 +0000 (16:02 -0700)
commit25e8e8ab55c86f61f8c3bf3e361d881895317f80
tree5a7659790ea9f3c1c435ae293f92b1901aff7381
parent55b45b8ef1f83178c4c87644b87481675909aa3e
staging: et131x: Use upper_32_bits() instead of '>> 32'

'>> 32 of a 32bit value is undefined in C. The compiler is free
to do what it likes with this...'

Change all uses of '>> 32' to use upper_32_bits() and use
the corresponding lower_32_bits() to match.

Also remove an incorrect comment about dma alloc always returning 32bit
addresses.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c