diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-05-04 06:16:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-06 18:58:41 -0700 |
commit | 5437e9b2434becbadbc883bc312068a15fd3bb6c (patch) | |
tree | f420d96cc72e33305ecb3d4a9b87aeecd682b876 /drivers/staging/ks7010 | |
parent | d74d0899349221b4356545ba88e4d0882d049d2f (diff) | |
download | op-kernel-dev-5437e9b2434becbadbc883bc312068a15fd3bb6c.zip op-kernel-dev-5437e9b2434becbadbc883bc312068a15fd3bb6c.tar.gz |
staging: ks7010: use u16 instead of unsigned short in hostif_event_check
Local variable 'event' is declared as unsigned short in hostif_event_check
function. Its value is got calling get_word which returns an 'u16'
so change its type to u16 which is preferred.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010')
-rw-r--r-- | drivers/staging/ks7010/ks_hostif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 3db5679..1a034d5 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -912,7 +912,7 @@ void hostif_mic_failure_confirm(struct ks_wlan_private *priv) static void hostif_event_check(struct ks_wlan_private *priv) { - unsigned short event; + u16 event; event = get_word(priv); switch (event) { |