Re: [PATCH -next v2] staging: greybus: camera: Switch to memdup_user_nul()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2021/4/1 13:59, Greg KH wrote:
On Thu, Apr 01, 2021 at 11:17:52AM +0800, Yang Yingliang wrote:
Use memdup_user_nul() helper instead of open-coding to
simplify the code.

Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
---
  drivers/staging/greybus/camera.c | 13 +++----------
  1 file changed, 3 insertions(+), 10 deletions(-)
What changed from v1?

Always put that below the --- line like the documentation asks you to.
Please fix up and send a v3.

OK, I will add the changelog and send a v3 later

Thanks,

Yang


thanks,

greg k-h
.




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux