[PATCH] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Piotr Witoslawski
Signed-off-by: Piotr Witoslawski pwi...@gmail.com --- drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c index 1759487..256958e 100644

Re: [PATCH] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Dan Carpenter
This doesn't look right and it doesn't have a changelog explainly the weirdness. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Jes Sorensen
Dan Carpenter dan.carpen...@oracle.com writes: This doesn't look right and it doesn't have a changelog explainly the weirdness. ... and the fix is as ugly as it gets! If something like this is needed, creating a __le16 *ptr at the beginnging of the function would be a lot better. Jes