Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150887
b: refs/heads/master
c: 98eb0f5
h: refs/heads/master
i:
  150885: 5d5e022
  150883: 7988b05
  150879: 3061cf9
v: v3
  • Loading branch information
Inaky Perez-Gonzalez committed Jun 11, 2009
1 parent 864b03f commit 6498cd3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2f4c10544231c3681f937a1e511f4780b4b39af
refs/heads/master: 98eb0f53e2fc66482e2ea8033c58b20a079e5260
4 changes: 3 additions & 1 deletion trunk/drivers/net/wimax/i2400m/op-rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ int i2400m_radio_is(struct i2400m *i2400m, enum wimax_rf_state state)
/* state == WIMAX_RF_ON */
return i2400m->state != I2400M_SS_RF_OFF
&& i2400m->state != I2400M_SS_RF_SHUTDOWN;
else
else {
BUG();
return -EINVAL; /* shut gcc warnings on certain arches */
}
}


Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/wimax/i2400m/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,10 @@ int i2400mu_bus_reset(struct i2400m *i2400m, enum i2400m_reset_type rt)
dev_err(dev, "USB reset failed (%d), giving up!\n",
result);
}
} else
} else {
result = -EINVAL; /* shut gcc up in certain arches */
BUG();
}
if (result < 0
&& result != -EINVAL /* device is gone */
&& rt != I2400M_RT_BUS) {
Expand Down

0 comments on commit 6498cd3

Please sign in to comment.