linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Matias Bjørling" <m@bjorling.me>
Cc: kbuild-all@01.org, axboe@fb.com, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org,
	hch@infradead.org, jg@lightnvm.io, Stephen.Bates@pmcs.com,
	keith.busch@intel.com, "Matias Bjørling" <m@bjorling.me>
Subject: [PATCH] lightnvm: fix memdup_user.cocci warnings
Date: Wed, 28 Oct 2015 00:15:54 +0800	[thread overview]
Message-ID: <20151027161554.GA3884@lkp-ib03> (raw)
In-Reply-To: <1445957719-5368-2-git-send-email-m@bjorling.me>

drivers/lightnvm/core.c:657:8-15: WARNING opportunity for memdup_user

 Use memdup_user rather than duplicating its implementation
 This is a little bit restricted to reduce false positives

Generated by: scripts/coccinelle/api/memdup_user.cocci

CC: Matias Bjørling <m@bjorling.me>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 0 files changed

rule starting on line 17: position variables or mixed modifs interfere with comm_assoc isobool (
(

(
(unknown *to == NULL)
  >>> IS_ERR(rule starting on line 17:to)

|
!unknown *to
  >>> IS_ERR(rule starting on line 17:to)

)
|
(unknown *NULL == unknown *to)
  >>> IS_ERR(rule starting on line 17:to)

) || ...)

  parent reply	other threads:[~2015-10-27 16:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 14:55 [PATCH v12 0/5] Support for Open-Channel SSDs Matias Bjørling
2015-10-27 14:55 ` [PATCH v12 1/5] lightnvm: " Matias Bjørling
2015-10-27 16:15   ` kbuild test robot
2015-10-27 16:15   ` kbuild test robot [this message]
2015-10-27 14:55 ` [PATCH v12 2/5] gennvm: Generic NVM manager Matias Bjørling
2015-10-27 20:43   ` kbuild test robot
2015-10-27 21:18   ` kbuild test robot
2015-10-27 14:55 ` [PATCH v12 3/5] rrpc: Round-robin sector target with cost-based gc Matias Bjørling
2015-10-27 23:44   ` kbuild test robot
2015-10-27 14:55 ` [PATCH v12 4/5] null_nvm: LightNVM test driver Matias Bjørling
2015-10-27 22:24   ` kbuild test robot
2015-10-27 14:55 ` [PATCH v12 5/5] nvme: LightNVM support Matias Bjørling

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=20151027161554.GA3884@lkp-ib03 \
    --to=lkp@intel.com \
    --cc=Stephen.Bates@pmcs.com \
    --cc=axboe@fb.com \
    --cc=hch@infradead.org \
    --cc=jg@lightnvm.io \
    --cc=kbuild-all@01.org \
    --cc=keith.busch@intel.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=m@bjorling.me \
    /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;
as well as URLs for NNTP newsgroup(s).