]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: use 'u16' for casts in assignments in hostif_sme_set_rsn
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:57 +0000 (20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:07 +0000 (14:07 +0200)
commit45f764a44c853e50d795c5248cbad36e86523b07
tree98ce12405de5b667abe23e5c209d32fad49e6665
parentefc99e8b8c88d47d25898b49707c038673c80340
staging: ks7010: use 'u16' for casts in assignments in hostif_sme_set_rsn

There are some assignments inside hostif_sme_set_rsn function
which are being used together with cpu_to_le16 using uint16_t
as cast type. Replace all of them to use 'u16' instead.

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