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

Jes Sorensen
2015-04-02T10:18:06Z

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