Re: [PATCH] mpt3sas: downgrade full copy_from_user to access_ok check

From: Christoph Hellwig
Date: Wed Sep 20 2017 - 11:04:13 EST

On Tue, Sep 19, 2017 at 11:11:11PM -0400, Meng Xu wrote:
> Since right after the user copy, we are going to
> memset(&karg, 0, sizeof(karg)), I guess an access_ok check is enough?

The right thing is to remove it entirely.