Re: [PATCH] usb: isp1760: Use devm_kcalloc

From: Greg KH
Date: Tue Sep 10 2024 - 05:05:13 EST


On Tue, Sep 10, 2024 at 03:26:42PM +0800, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
>
> Use devm_kcalloc to simplify code.

In what way?

Are you sure it's safe to do this? How was this tested?

thanks,

greg k-h