Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f50ca07 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller
Browse files

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b9da9e95
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2981,7 +2981,8 @@ prism54_set_spy(struct net_device *ndev,
		union iwreq_data *uwrq, char *extra)
{
	islpci_private *priv = netdev_priv(ndev);
	u32 u, oid = OID_INL_CONFIG;
	u32 u;
	enum oid_num_t oid = OID_INL_CONFIG;

	down_write(&priv->mib_sem);
	mgt_get(priv, OID_INL_CONFIG, &u);
+1 −1
Original line number Diff line number Diff line
@@ -698,7 +698,7 @@ int
mgt_commit(islpci_private *priv)
{
	int rvalue;
	u32 u;
	enum oid_num_t u;

	if (islpci_get_state(priv) < PRV_STATE_INIT)
		return 0;