From: Sergio Paracuellos Date: Fri, 4 May 2018 04:16:47 +0000 (+0200) Subject: staging: ks7010: use u16 instead of unsigned short in hostif_event_check X-Git-Tag: v4.18-rc1~83^2~336 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5437e9b2434becbadbc883bc312068a15fd3bb6c;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 3db5679cdaf50..1a034d5c47a8c 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) {