From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755303AbcBHDxY (ORCPT ); Sun, 7 Feb 2016 22:53:24 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57349 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753989AbcBHDxX (ORCPT ); Sun, 7 Feb 2016 22:53:23 -0500 Date: Sun, 7 Feb 2016 19:53:22 -0800 From: Greg Kroah-Hartman To: Pinkesh Badjatiya Cc: Larry Finger , Florian Schilhabel , Luis de Bethencourt , Aya Mahfouz , Shivani Bhardwaj , Punit Vara , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8712: Fix Comparison with constant warning. Message-ID: <20160208035322.GA11464@kroah.com> References: <20160206144111.GA86930@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160206144111.GA86930@ubuntu> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 06, 2016 at 08:11:11PM +0530, Pinkesh Badjatiya wrote: > Fix Comparisons with constant on the left side of the test. > Checkpatch.pl warning. > -- > WARNING: Comparisons should place the constant on the right side of the > test > 296: FILE: ./rtl8712_cmd.c:296: > while ((0 != r8712_read32(pAdapter, IOCMD_CTRL_REG)) && > > Signed-off-by: Pinkesh Badjatiya > Acked-by: Larry Finger > --- > drivers/staging/rtl8712/rtl8712_cmd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Someone else sent this before you did, sorry :(