]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: change cast from uint16_t to u16
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:39 +0000 (20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:06 +0000 (14:07 +0200)
commit83911837f892ecd5c77c5cdafab569ea018be641
treecc4e8715b25ed3cdc9f8a1d4624dec9a315e5165
parent62a37b72ced4f73d605c1a8654417c5f1625ce06
staging: ks7010: change cast from uint16_t to u16

Header size and event fields of header are declared
as __le16 and being casted using uint16_t in cpu_to_le16.
Change cast to use preferred u16.

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