All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: kbuild test robot <fengguang.wu@intel.com>,
	Dmitry Monakhov <dmonakhov@openvz.org>
Cc: kbuild-all@01.org,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Christoph Hellwig <hch@lst.de>,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bio-integrity: fix boolreturn.cocci warnings
Date: Tue, 4 Jul 2017 16:12:14 -0600	[thread overview]
Message-ID: <fc2b35cb-36cf-2c6a-c976-4b2c9bef9761@kernel.dk> (raw)
In-Reply-To: <20170704181410.GA65297@lkp-g5.lkp.intel.com>

On 07/04/2017 12:14 PM, kbuild test robot wrote:
> block/bio-integrity.c:318:10-11: WARNING: return of 0/1 in function 'bio_integrity_prep' with return type bool
> 
>  Return statements in functions returning bool should use
>  true/false instead of 1/0.
> Generated by: scripts/coccinelle/misc/boolreturn.cocci

Thanks, applied.

-- 
Jens Axboe

      reply	other threads:[~2017-07-04 22:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201707050205.8pj7G22S%fengguang.wu@intel.com>
2017-07-04 18:14 ` [PATCH] bio-integrity: fix boolreturn.cocci warnings kbuild test robot
2017-07-04 22:12   ` Jens Axboe [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=fc2b35cb-36cf-2c6a-c976-4b2c9bef9761@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=dmonakhov@openvz.org \
    --cc=fengguang.wu@intel.com \
    --cc=hch@lst.de \
    --cc=kbuild-all@01.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.petersen@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.