aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 06:50:45 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-17 22:49:21 -0500
commit7f50ca07fffdfa8f74ff62e54bf569c745e906e5 (patch)
tree4a785aad27c9ec1318244c35e4bcdb921c4dc96e /drivers/net/wireless/prism54
parentb9da9e9544724ee25af493bf117e2a8413be34a8 (diff)
drivers/net/wireless/prism54: fix sparse warning: fix signedness
Fix sparse warning: drivers/net/wireless/prism54/isl_ioctl.c:2997:32: warning: incorrect type in argument 2 (different signedness) drivers/net/wireless/prism54/oid_mgt.c:712:42: warning: incorrect type in argument 2 (different signedness) Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/prism54')
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c3
-rw-r--r--drivers/net/wireless/prism54/oid_mgt.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index 57a150a22de5..4c97c6ad6f5d 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -2981,7 +2981,8 @@ prism54_set_spy(struct net_device *ndev,
2981 union iwreq_data *uwrq, char *extra) 2981 union iwreq_data *uwrq, char *extra)
2982{ 2982{
2983 islpci_private *priv = netdev_priv(ndev); 2983 islpci_private *priv = netdev_priv(ndev);
2984 u32 u, oid = OID_INL_CONFIG; 2984 u32 u;
2985 enum oid_num_t oid = OID_INL_CONFIG;
2985 2986
2986 down_write(&priv->mib_sem); 2987 down_write(&priv->mib_sem);
2987 mgt_get(priv, OID_INL_CONFIG, &u); 2988 mgt_get(priv, OID_INL_CONFIG, &u);
diff --git a/drivers/net/wireless/prism54/oid_mgt.c b/drivers/net/wireless/prism54/oid_mgt.c
index 57a4ac34bed6..1187e6112a64 100644
--- a/drivers/net/wireless/prism54/oid_mgt.c
+++ b/drivers/net/wireless/prism54/oid_mgt.c
@@ -698,7 +698,7 @@ int
698mgt_commit(islpci_private *priv) 698mgt_commit(islpci_private *priv)
699{ 699{
700 int rvalue; 700 int rvalue;
701 u32 u; 701 enum oid_num_t u;
702 702
703 if (islpci_get_state(priv) < PRV_STATE_INIT) 703 if (islpci_get_state(priv) < PRV_STATE_INIT)
704 return 0; 704 return 0;