[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121028.190832.835396326917069506.davem@davemloft.net>
Date: Sun, 28 Oct 2012 19:08:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bjorn@...k.no
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org,
oliver@...kum.org
Subject: Re: [PATCH net-next] net: cdc_ncm: big endian fix
From: Bjørn Mork <bjorn@...k.no>
Date: Fri, 26 Oct 2012 09:44:08 +0200
> Probably doesn't matter much since the value is used as a
> boolean anyway, but it removes the sparse warning:
>
> drivers/net/usb/cdc_ncm.c:1090:32: warning: incorrect type in assignment (different base types)
> drivers/net/usb/cdc_ncm.c:1090:32: expected unsigned short [unsigned] [usertype] connected
> drivers/net/usb/cdc_ncm.c:1090:32: got restricted __le16 [usertype] wValue
>
> Signed-off-by: Bjørn Mork <bjorn@...k.no>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists