rapidio/rio_cm: use memdup_user() instead of duplicating code
authorAlexandre Bounine <alexandre.bounine@idt.com>
Sat, 10 Sep 2016 10:34:28 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:28 +0000 (20:34 +1000)
commit44054822df7da059af813116224888f6a52d0e6d
tree4237dba4e0b5cf402b22f05399fbc87495143948
parent955d6ad62c69d74da204ec594d18f3f11fbdfbf1
rapidio/rio_cm: use memdup_user() instead of duplicating code

Fix coccinelle warning about duplicating existing memdup_user function.

Link: http://lkml.kernel.org/r/20160811151737.20140-1-alexandre.bounine@idt.com
Link: https://lkml.org/lkml/2016/8/11/29
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Cc: Barry Wood <barry.wood@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rapidio/rio_cm.c
This page took 0.031047 seconds and 5 git commands to generate.