Re: [PATCH] mpt3sas: remove redundant copy_from_user in _ctl_getiocinfo

From: Martin K. Petersen
Date: Mon Sep 25 2017 - 19:23:23 EST



Meng,

> Since right after the user copy, we are going to
> memset(&karg, 0, sizeof(karg)), the copy_from_user is redundant

Applied to 4.15/scsi-queue. Thank you!

--
Martin K. Petersen Oracle Linux Engineering