diff options
author | Pavel Roskin <proski@gnu.org> | 2007-06-02 14:00:13 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-06-03 18:38:22 +0200 |
commit | f7fbfb7a42b1a150c2d3860ebd837a3785566a62 (patch) | |
tree | 882d52bb545011cc6539fe329ab87806151412e8 | |
parent | cc5ca86b42bae9948fada385d3eb1ff7a4d6bb97 (diff) |
[PATCH] op_mode should be int, negative values are valid and mean an error
We should not treat negative errno like positive valid modes.
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r-- | at76_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4269,7 +4269,7 @@ static void at76_work_external_fw(struct work_struct *work) struct at76_priv *priv = container_of(work, struct at76_priv, work_external_fw); int ret; - u8 op_mode; + int op_mode; mutex_lock(&priv->mtx); |