Tag: 4ecc4a18d987e7e9f4b7eff2bf9215ac02c8a980

Staging: rdma: Use memdup_user

Author: Ksenija Stanojevic <ksenija.stanojevic@gmail.com> Use memdup_user when user data is immediately copied into the allocated region. Issue found using coccinelle. Signed-off-by: Ksenija Stanojevic Signed-off-by: Greg Kroah-Hartman — drivers/staging/rdma/ipath/ipath_fs.c | 13 +++———- 1 file changed, 3 insertions(+), 10 deletions(-)   diff –git a/drivers/staging/rdma/ipath/ipath_fs.c b/drivers/staging/rdma/ipath/ipath_fs.c index 25422a3..796af68 100644 — a/drivers/staging/rdma/ipath/ipath_fs.c +++ b/drivers/staging/rdma/ipath/ipath_fs.c @@ -195,16 +195,9 @@ static …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.