Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235933
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] hv: util: fix memdup_user.cocci warnings |
| Date | 2015-09-30 11:30 +0200 |
| Message-ID | <qelS2-Ol-15@gated-at.bofh.it> (permalink) |
| References | <qelS2-Ol-9@gated-at.bofh.it> <qelyF-rL-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/hv/hv_utils_transport.c:83:9-16: 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: Olaf Hering <olaf@aepfle.de> 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] hv: util: catch allocation errors Olaf Hering <olaf@aepfle.de> - 2015-09-30 11:10 +0200 Re: [PATCH] hv: util: catch allocation errors kbuild test robot <lkp@intel.com> - 2015-09-30 11:30 +0200 [PATCH] hv: util: fix memdup_user.cocci warnings kbuild test robot <lkp@intel.com> - 2015-09-30 11:30 +0200
csiph-web