]> git.hungrycats.org Git - linux/commit
[PATCH] fix starfire 64-bit b0rkage
authorArjan van de Ven <arjanv@redhat.com>
Wed, 29 Oct 2003 10:40:20 +0000 (05:40 -0500)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 29 Oct 2003 10:40:20 +0000 (05:40 -0500)
commit951f6aa7706caead2bba2839ed0a95c268d913b6
tree54b6b75001bdf676e93e9dc243ab1796f4f8485e
parent8448b11e1219dcfbba4b345a60e69172aa3660eb
[PATCH] fix starfire 64-bit b0rkage

(x >> 32) is undefined on a 32 bit integral variable in C; In contrast
(x >>16 >> 16) is fine (and gets optimized out to 0, while (x >> 32)
gets optimized out to a nop).

Fix for starfire below
drivers/net/starfire.c