Re: [PATCH 2/2] rtlwifi: sparse warnings: cast to restricted type
From: Larry Finger <hidden>
Date: 2013-08-09 22:08:11
On 08/09/2013 12:41 PM, John W. Linville wrote:
On Wed, Jul 31, 2013 at 12:21:45PM -0500, Larry Finger wrote:quoted
On 07/31/2013 02:08 AM, Mark Schulte wrote:quoted
Adding type casts to suppress sparse warnings: * warning: cast to restricted __le32/__le16 Signed-off-by: Mark Schulte <redacted> --- drivers/net/wireless/rtlwifi/ps.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)I think this patch is OK, but until I get a chance to test it on a big-endian machine (PowerBook G4 Titanium), please do not apply it. When I tried the patch, I discovered some kind of regression that causes a kernel oops with an RTL8192CU device installed. This patch is not the problem, but I will need to bisect the oops before I can test. The machine takes a long time to build each kernel, thus it will probably be a while.Any word on this? The patch doesn't look like it should be causing such problems...?
I have not ywt solved the PPC crash. Unfortunately, thos processors are finicky and my debugging skills on that architecture are quite low. Go ahaed any apply this patch. Acked-by: Larry Finger <redacted> Larry