* [PATCH] rapidio: fix memdup_user.cocci warnings
2016-08-11 5:41 drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user kbuild test robot
@ 2016-08-11 5:41 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-08-11 5:41 UTC (permalink / raw)
To: Alexandre Bounine
Cc: kbuild-all, linux-kernel, Andrew Morton, Linux Memory Management List
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@idt.com>
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)
) || ...)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user
@ 2016-08-11 5:41 kbuild test robot
2016-08-11 5:41 ` [PATCH] rapidio: fix memdup_user.cocci warnings kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-08-11 5:41 UTC (permalink / raw)
To: Alexandre Bounine
Cc: kbuild-all, linux-kernel, Andrew Morton, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 85e97be32c6242c98dbbc7a241b4a78c1b93327b
commit: b6e8d4aa1110306378af0f3472a6b85a1f039a16 rapidio: add RapidIO channelized messaging driver
date: 8 days ago
coccinelle warnings: (new ones prefixed by >>)
>> drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-11 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11 5:41 drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user kbuild test robot
2016-08-11 5:41 ` [PATCH] rapidio: fix memdup_user.cocci warnings kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox