]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drivers/net/wireless: fix sparse warnings: fix signedness
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:49:26 +0000 (11:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 03:34:50 +0000 (19:34 -0800)
Fix this sparse warnings:
  drivers/net/wireless/airo.c:2102:21: warning: incorrect type in initializer (different signedness)
  drivers/net/wireless/airo.c:2126:21: warning: incorrect type in initializer (different signedness)
  drivers/net/wireless/airo.c:2167:21: warning: incorrect type in initializer (different signedness)
  drivers/net/wireless/airo.c:2191:21: warning: incorrect type in initializer (different signedness)

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/airo.c

index 7e5cd15e59ad79e704be89620c7cb713c849102b..c44f38895fbe6c3db7aed02202c7594130d2c922 100644 (file)
@@ -1161,7 +1161,7 @@ struct airo_info {
           use the high bit to mark whether it is in use. */
 #define MAX_FIDS 6
 #define MPI_MAX_FIDS 1
-       int                           fids[MAX_FIDS];
+       u32                           fids[MAX_FIDS];
        ConfigRid config;
        char keyindex; // Used with auto wep
        char defindex; // Used with auto wep