Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739349

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

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mpt3sas: remove redundant copy_from_user in _ctl_getiocinfo
Date 2017-09-26 01:30 +0200
Message-ID <utKZ3-4P8-13@gated-at.bofh.it> (permalink)
References <urOX8-4Mq-17@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mpt3sas: remove redundant copy_from_user in _ctl_getiocinfo Meng Xu <mengxu.gatech@gmail.com> - 2017-09-20 17:20 +0200
  Re: [PATCH] mpt3sas: remove redundant copy_from_user in _ctl_getiocinfo "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-09-26 01:30 +0200

csiph-web