]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers/net/atlx: fix sparse warnings: fix signedness
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:15:17 +0000 (11:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 01:26:07 +0000 (17:26 -0800)
commitb79d8fff0e54a19e96cbde2b1f79e0fd503c2c53
tree911f674e1a215ea71590bd494188dc80daf24813
parentfd8ef49edd81405e80e00eb81365ae4d6733d602
drivers/net/atlx: fix sparse warnings: fix signedness

Impact: While being at it: statics do not need to be initialized with 0.

Fix this sparse warnings:
  drivers/net/atlx/atl1.c:109:1: warning: incorrect type in initializer (different signedness)
  drivers/net/atlx/atl2.c:2870:1: warning: incorrect type in initializer (different signedness)
  drivers/net/atlx/atl2.c:2880:1: warning: incorrect type in initializer (different signedness)
  drivers/net/atlx/atl2.c:2894:1: warning: incorrect type in initializer (different signedness)
  drivers/net/atlx/atl2.c:2904:1: warning: incorrect type in initializer (different signedness)
  drivers/net/atlx/atl2.c:2913:1: warning: incorrect type in initializer (different signedness)

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Jay Cliburn <jcliburn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atlx/atl1.c
drivers/net/atlx/atl2.c