drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user

From: kbuild test robot
Date: Thu Aug 11 2016 - 01:43:39 EST


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