[PATCH] staging: ks7010: define ether_hdr.h_proto to be big-endian

Greg KH gregkh at linuxfoundation.org
Sat Jun 3 08:38:12 UTC 2017


On Sun, May 21, 2017 at 10:15:11AM +0100, dick at acm.org wrote:
> From: Richard Porter <dick at acm.org>
> 
> 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: Richard Porter <dick at acm.org>
> ---
>  drivers/staging/ks7010/eap_packet.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Does not apply to my tree at all :(


More information about the devel mailing list