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

There is an assignment inside hostif_ps_adhoc_set_request function
which is being used together with cpu_to_le16 using uint16_t as cast
type. Replace it 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