kernel-ark/drivers/atm
Alexey Dobriyan 5f3f24faf3 [ATM] ambassador,firestream: "-1 >>" is implementation defined
6.5.7(5): The result of E1 >> E2 is E1 right-shifted E2 bit positions.
		...
	If E1 has a signed type and a negative value, the resulting value
	is implementation defined.

So, cast -1 to unsigned type to make result well-defined.

[ Modified to use ~0U based upon recommendation from Al Viro. -DaveM ]

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-12-02 21:22:25 -08:00
..
.gitignore
adummy.c
ambassador.c [ATM] ambassador,firestream: "-1 >>" is implementation defined 2006-12-02 21:22:25 -08:00
ambassador.h
atmsar11.data
atmsar11.regions
atmsar11.start
atmtcp.c
eni.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
eni.h
firestream.c [ATM] ambassador,firestream: "-1 >>" is implementation defined 2006-12-02 21:22:25 -08:00
firestream.h
fore200e_firmware_copyright
fore200e_mkfirm.c
fore200e.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
fore200e.h
he.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
he.h
horizon.c [ATM] horizon: read_bia() needs to be __devinit 2006-10-24 16:16:39 -07:00
horizon.h
idt77105.c
idt77105.h
idt77252_tables.h
idt77252.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
idt77252.h
iphase.c Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
iphase.h
Kconfig
lanai.c Various drivers' irq handlers: kill dead code, needless casts 2006-10-06 15:00:58 -04:00
Makefile
midway.h
nicstar.c [ATM] nicstar: Fix a bogus casting warning 2006-10-21 19:55:25 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
pca200e_ecd.data
pca200e.data
sba200e_ecd.data
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
zatm.h
zeprom.h