[PATCH] staging: rtl8192u: Fix warnings about endianness

maomao albert008.xu at gmail.com
Sat Feb 18 03:55:44 UTC 2017


On February 16, 2017 4:31:16 AM GMT+08:00, Dan Carpenter <dan.carpenter at oracle.com> wrote:
>On Wed, Feb 15, 2017 at 09:33:15AM +0100, Arnd Bergmann wrote:
>> I see the same warning was addressed very differently in 99277c1f9962
>> ("Staging: rtl8192e: Fix Sparse warning of cast to restricted __le16
>in
>>  rtllib_crypt_tkip.c"), which was for a close relative of that
>driver.
>> 
>> Only one of the two approaches (at most) can be correct, so we
>> regardless of your patch either rtl8192e or rtl8192u is broken on
>> big-endian machines.
>
>99277c1f9962 ("Staging: rtl8192e: Fix Sparse warning of cast to
>restricted __le16 in
>rtllib_crypt_tkip.c") is obviously broken.  Can you send a patch to
>change it back?
>
>regards,
>dan carpenter
yes,I have done.But I have receive nothing about this patch from lkml for days

-- 
Sent from Kaiten Mail. Please excuse my brevity.


More information about the devel mailing list