]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: use u16 as type for casting in hostif_data_indication_wpa
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:45 +0000 (20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:06 +0000 (14:07 +0200)
commit9f3dfa5cfbefcf15d019770a3e9504a9ec218a9b
tree7ced049b525afd0d12a339a2faffe4ad10dd4dde
parenteb6a94c0547c4f2474ccd057b4420f42bba111fb
staging: ks7010: use u16 as type for casting in hostif_data_indication_wpa

Field 'counter' in mic_failure struct is being assigned casting
value using uint16_t. Replace with u16 which is the correct type
of the field and the preferred one.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c