Skip to content
Commit d9d1ffd4 authored by Cezary Gapinski's avatar Cezary Gapinski Committed by Greg Kroah-Hartman
Browse files

staging/ks7010: Fix type assignment for struct hostif_hdr



Sparse spits out a warnings about __le16 and unsigned short assignment.
Change the type of size and event members of struct hostif_hdr
to __le16 and correct conversion to the proper cpu type.

Signed-off-by: default avatarCezary Gapinski <gapalinux@gmail.com>
Reviewed-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1260357
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment