Re: [PATCH v2 0/2] serial: add sparse context annotation

From: andriy . shevchenko
Date: Thu Jul 23 2020 - 09:23:00 EST


On Thu, Jul 23, 2020 at 02:33:25PM +0200, Johan Hovold wrote:
> The Intel test robot reported a new sparse warning in pmac_zilog, which
> wasn't actually new.
>
> Add sparse annotation to the two drivers that release and reacquire the
> port lock in their receive handlers to suppress these warnings.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

> Johan
>
> Changes in v2:
> - let's use the right context expression even if sparse doesn't seem to
> care (add the missing ampersand)
>
>
> Johan Hovold (2):
> serial: pmac_zilog: add sparse context annotation
> serial: msm_serial: add sparse context annotation
>
> drivers/tty/serial/msm_serial.c | 2 ++
> drivers/tty/serial/pmac_zilog.c | 1 +
> 2 files changed, 3 insertions(+)
>
> --
> 2.26.2
>

--
With Best Regards,
Andy Shevchenko