Re: [PATCH net-next v6 12/15] net: airoha: Introduce Airoha NPU support

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

 



> On Fri, 21 Feb 2025 11:28:13 +0100 Lorenzo Bianconi wrote:
> > +	addr = kzalloc(size, GFP_ATOMIC);
> > +	if (!addr)
> > +		return -ENOMEM;
> > +
> > +	memcpy(addr, p, size);
> 
> coccicheck says:
> 
> drivers/net/ethernet/airoha/airoha_npu.c:128:8-15: WARNING opportunity for kmemdup

ack, I will fix it in v7.

Regards,
Lorenzo

> -- 
> pw-bot: cr

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux