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

From: Jes Sorensen
Date: Thu Apr 02 2015 - 06:18:09 EST

Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at