Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1256906
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] lightnvm: fix memdup_user.cocci warnings |
| Date | 2015-10-27 17:20 +0100 |
| Message-ID | <qof8C-7mI-37@gated-at.bofh.it> (permalink) |
| References | <qof8B-7mI-5@gated-at.bofh.it> <qoe2S-6JM-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@bjorling.me> 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
Re: [PATCH v12 1/5] lightnvm: Support for Open-Channel SSDs kbuild test robot <lkp@intel.com> - 2015-10-27 17:20 +0100 [PATCH] lightnvm: fix memdup_user.cocci warnings kbuild test robot <lkp@intel.com> - 2015-10-27 17:20 +0100
csiph-web