[PATCH] can: xilinx_can: Add check for NAPI Poll function

Srinivas Neeli sneeli at xilinx.com
Wed Feb 9 00:29:55 PST 2022


Hi Marc,

> -----Original Message-----
> From: Marc Kleine-Budde <mkl at pengutronix.de>
> Sent: Wednesday, February 9, 2022 1:20 PM
> To: Srinivas Neeli <sneeli at xilinx.com>
> Cc: wg at grandegger.com; davem at davemloft.net; kuba at kernel.org; Michal
> Simek <michals at xilinx.com>; linux-can at vger.kernel.org;
> netdev at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-
> kernel at vger.kernel.org; Appana Durga Kedareswara Rao
> <appanad at xilinx.com>; Srinivas Goud <sgoud at xilinx.com>; git
> <git at xilinx.com>
> Subject: Re: [PATCH] can: xilinx_can: Add check for NAPI Poll function
> 
> On 08.02.2022 21:50:53, Srinivas Neeli wrote:
> > Add check for NAPI poll function to avoid enabling interrupts with out
> > completing the NAPI call.
> 
> Thanks for the patch. Does this fix a bug? If so, please add a Fixes:
> tag that lists the patch that introduced that bug.

It is not a bug. I am adding additional safety check( Validating the return value of  "napi_complete_done" call).

Thanks
Srinivas Neeli

> 
> regards,
> Marc
> 
> --
> Pengutronix e.K.                 | Marc Kleine-Budde           |
> Embedded Linux                   | https://www.pengutronix.de  |
> Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
> Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |


More information about the linux-arm-kernel mailing list