Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1460186 > unrolled thread
| Started by | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| First post | 2016-08-11 07:50 +0200 |
| Last post | 2016-08-11 07:50 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user kbuild test robot <fengguang.wu@intel.com> - 2016-08-11 07:50 +0200
[PATCH] rapidio: fix memdup_user.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2016-08-11 07:50 +0200
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Date | 2016-08-11 07:50 +0200 |
| Subject | drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user |
| Message-ID | <s4R2p-7bt-5@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Date | 2016-08-11 07:50 +0200 |
| Subject | [PATCH] rapidio: fix memdup_user.cocci warnings |
| Message-ID | <s4R2p-7bt-9@gated-at.bofh.it> |
| In reply to | #1460186 |
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) ) || ...)
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web