[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160811054136.GA58817@lkp-hsx03>
Date: Thu, 11 Aug 2016 13:41:36 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Alexandre Bounine <alexandre.bounine@....com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: [PATCH] rapidio: fix memdup_user.cocci warnings
drivers/rapidio/rio_cm.c:1849:7-14: 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: Alexandre Bounine <alexandre.bounine@....com>
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)
) || ...)
Powered by blists - more mailing lists