From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753472AbbHGNI7 (ORCPT ); Fri, 7 Aug 2015 09:08:59 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:35170 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753034AbbHGNI6 (ORCPT ); Fri, 7 Aug 2015 09:08:58 -0400 Date: Fri, 7 Aug 2015 14:08:55 +0100 From: Johannes Postma To: Jes Sorensen Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Larry Finger , Greg Kroah-Hartman Subject: Re: [PATCH] staging: rtl8723au: Fix sparse warning: cast to restricted __le16 Message-ID: <20150807130855.GA9880@goofy_linux.Home> References: <1438860112-1786-1-git-send-email-jgmpostma@gmail.com> <20150807083707.GA3923@goofy_linux.Home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/08/15 at 08:26am, Jes Sorensen wrote: > Johannes Postma writes: > > On 06/08/15 at 08:21am, Jes Sorensen wrote: > >> > >> Looks OK to me. Probably worth changing the *(usPtr + index) to be > >> usPtr[index] as well to make the code easier to read. > >> > >> Jes > >> > > > > Thank you for reviewing. I will make a seperate patch for that. I will > > send it after this one is accepted. Or should I combine them into a > > patch serie? > > Either is fine with me. > > Jes Ok, I have sent it as a separate patch. Since it doesn't depend on this patch and should apply cleanly I have already sent it in. Johannes