public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: caizhichao <tomstomsczc@163.com>
Cc: mchehab@kernel.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
	gregkh@linuxfoundation.org, sakari.ailus@linux.intel.com,
	Zhichao Cai <caizhichao@yulong.com>
Subject: Re: [PATCH] drivers:staging: Simplify the if condition
Date: Wed, 24 Mar 2021 11:20:55 +0300	[thread overview]
Message-ID: <20210324082055.GL1717@kadam> (raw)
In-Reply-To: <20210324054535.1716-1-tomstomsczc@163.com>

On Wed, Mar 24, 2021 at 01:45:35PM +0800, caizhichao wrote:
> From: Zhichao Cai <caizhichao@yulong.com>
> 
> Fixes coccicheck warning:
> drivers/staging/media/atomisp/pci/sh_css_params.c:4652:24-26: WARNING !A || A && B is equivalent to !A || B
> 

Thanks, but someone already did this.  Please work against linux-next.

regards,
dan carpenter



      reply	other threads:[~2021-03-24  8:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24  5:45 [PATCH] drivers:staging: Simplify the if condition caizhichao
2021-03-24  8:20 ` Dan Carpenter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210324082055.GL1717@kadam \
    --to=dan.carpenter@oracle.com \
    --cc=caizhichao@yulong.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tomstomsczc@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox