Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1206554

Re: [PATCH] crypto: fix simple_return.cocci warnings

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: fix simple_return.cocci warnings
Date 2015-08-13 09:20 +0200
Message-ID <pWUXU-4He-19@gated-at.bofh.it> (permalink)
References <pWwiS-24c-11@gated-at.bofh.it> <pWwiS-24c-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 12, 2015 at 12:50:17PM +0800, kbuild test robot wrote:
> drivers/crypto/qat/qat_common/adf_sriov.c:258:1-4: WARNING: end returns can be simpified and declaration on line 212 can be dropped
> 
>  Simplify a trivial if-return sequence.  Possibly combine with a
>  preceding function call.
> Generated by: scripts/coccinelle/misc/simple_return.cocci
> 
> CC: Tadeusz Struk <tadeusz.struk@intel.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] crypto: fix simple_return.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2015-08-12 07:00 +0200
  Re: [PATCH] crypto: fix simple_return.cocci warnings Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-13 09:20 +0200

csiph-web