Re: [PATCH] smsc95xx: Ignore -ENODEV errors when device is unplugged

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

 



Hi Andrew,

On Sat, Mar 5, 2022 at 4:24 PM Andrew Lunn <andrew@xxxxxxx> wrote:

> Please indicate what tree this patch is actually for. It should be
> against net, since you want it backporting. Please see the netdev FAQ.
> Please also include a Fixes: tag.

Thanks for your review. Fixed in v2.

> I suspect this will result in kasan warnings. The contents of buf is
> probably undefined because of the error, yet you continue to set *data
> to it. You probably need to explicitly handle the ENODEV case setting
> *data to some value.

Good catch. Fixed in v2.

Thanks



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux