[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151027161554.GA3884@lkp-ib03>
Date: Wed, 28 Oct 2015 00:15:54 +0800
From: kbuild test robot <lkp@...el.com>
To: Matias Bjørling <m@...rling.me>
Cc: kbuild-all@...org, axboe@...com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-nvme@...ts.infradead.org,
hch@...radead.org, jg@...htnvm.io, Stephen.Bates@...s.com,
keith.busch@...el.com,
Matias Bjørling <m@...rling.me>
Subject: [PATCH] lightnvm: fix memdup_user.cocci warnings
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@...rling.me>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.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)
) || ...)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists