From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Thu, 20 Dec 2018 10:17:32 +0000 Subject: Re: [PATCH] remoteproc: fix a.vs ~ typo Message-Id: <20181220101732.GR19692@kadam> List-Id: References: <20181218081657.GA32567@kadam> <5ed56497-be6f-f4e2-642d-47e2b0f45f42@st.com> In-Reply-To: <5ed56497-be6f-f4e2-642d-47e2b0f45f42@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Patrice CHOTARD Cc: Peter Griffin , Ohad Ben-Cohen , Bjorn Andersson , "linux-remoteproc@vger.kernel.org" , "kernel-janitors@vger.kernel.org" , Loic PALLARDY On Thu, Dec 20, 2018 at 10:05:55AM +0000, Patrice CHOTARD wrote: > Hi Dan > > On 12/18/18 9:16 AM, Dan Carpenter wrote: > > This is from static analysis and not from testing. It doesn't really > > make sense to talk about !BIT(0) so probably ~BIT(0) was intended. > > I had to cast it from unsigned long to unsigned int to silence a GCC > > warning. > > > > Fixes: bb6869b21478 ("Peter Griffin ") And oh... I put Peter's email here instead of the commit title. Sorry. I will resend if we decide the patch is required. regards, dan carpenter