android_kernel_xiaomi_sm8350/drivers/net/tokenring
Hannes Eder ad7bf42832 drivers/net/tokenring: fix sparse warning: cast truncates bits from const value
Impact: Remove the write-only field 'current_ring_status' completely.

Fix this sparse warnings:
  drivers/net/tokenring/smctr.c:4410:52: warning: cast truncates bits from constant value (100 becomes 0)
  drivers/net/tokenring/smctr.c:4415:52: warning: cast truncates bits from constant value (400 becomes 0)
  drivers/net/tokenring/smctr.c:4420:52: warning: cast truncates bits from constant value (800 becomes 0)
  drivers/net/tokenring/smctr.c:4425:52: warning: cast truncates bits from constant value (1000 becomes 0)
  drivers/net/tokenring/smctr.c:4430:52: warning: cast truncates bits from constant value (2000 becomes 0)
  drivers/net/tokenring/smctr.c:4435:52: warning: cast truncates bits from constant value (4000 becomes 0)
  drivers/net/tokenring/smctr.c:4440:52: warning: cast truncates bits from constant value (8000 becomes 0)

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-02-17 19:49:21 -08:00
..
3c359_microcode.h
3c359.c
3c359.h
abyss.c
abyss.h
ibmtr.c
Kconfig
lanstreamer.c drivers/net/tokenring: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:38:01 -08:00
lanstreamer.h
madgemc.c drivers/net/tokenring: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:38:01 -08:00
madgemc.h
Makefile
olympic.c drivers/net/tokenring: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:38:01 -08:00
olympic.h
proteon.c
skisa.c
smctr.c drivers/net/tokenring: fix sparse warning: cast truncates bits from const value 2009-02-17 19:49:21 -08:00
smctr.h drivers/net/tokenring: fix sparse warning: cast truncates bits from const value 2009-02-17 19:49:21 -08:00
tms380tr.c
tms380tr.h
tmspci.c