mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 13:43:21 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d74d089934
commit
5437e9b243
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user