From: Johan Hovold <johan@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
Johan Hovold <johan@kernel.org>
Subject: [PATCH v2 0/2] serial: add sparse context annotation
Date: Thu, 23 Jul 2020 14:33:25 +0200 [thread overview]
Message-ID: <20200723123327.5843-1-johan@kernel.org> (raw)
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.
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
next reply other threads:[~2020-07-23 12:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-23 12:33 Johan Hovold [this message]
2020-07-23 12:33 ` [PATCH v2 1/2] serial: pmac_zilog: add sparse context annotation Johan Hovold
2020-07-23 12:33 ` [PATCH v2 2/2] serial: msm_serial: " Johan Hovold
2020-07-23 13:22 ` [PATCH v2 0/2] serial: " andriy.shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200723123327.5843-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.