From: Richard Porter
Fixes sparse warning:
drivers/staging/ks7010/ks_hostif.c:959:24: warning: restricted __le16
degrades to integer
Signed-off-by: Richard Porter
---
Every access of struct association_request_t.req_ies_size is wrapped with
le16_to_cpu(), except the one at ks_hostif.c:959.
dr
/eap_packet.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Does not apply to my tree at all :(
Looks like someone beat me to it :(
- Dick
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
directly into an sk_buff data buffer
(ks_hostif.c line 474) at offset ETH_ALEN * 2. The sk_buff data gets cast
to a struct ethhdr in eth_type_trans() (ks_hostif.c line 510), which already
has the h_proto field at the same offset with type __be16.
- Dick
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
From: Richard Porter
Fixes sparse warnings:
drivers/staging/ks7010/ks_hostif.c:339:21: warning: cast to restricted __be16
drivers/staging/ks7010/ks_hostif.c:430:21: warning: cast to restricted __be16
drivers/staging/ks7010/ks_hostif.c:1226:21: warning: cast to restricted __be16
Signed-off-by: Ri