[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <wrfja8yqbzqr.fsf@redhat.com>
Date: Thu, 02 Apr 2015 06:17:48 -0400
From: Jes Sorensen <Jes.Sorensen@...hat.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Piotr Witoslawski <pwitos@...il.com>,
Larry Finger <Larry.Finger@...inger.net>,
devel@...verdev.osuosl.org, linux-wireless@...r.kernel.org,
Yannis Damigos <giannis.damigos@...il.com>,
linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] drivers: staging: rtl8723au: fix "warning: cast to restricted __le16"
Dan Carpenter <dan.carpenter@...cle.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists