From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Praneeth Balasubramanian <praneethb2002@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Jiale Yao <yaojiale02@163.com>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] misc: bh1770glc: Hold chip->mutex while reconfiguring the chip on resume
Date: Sat, 5 Dec 2026 05:51:45 +0900 [thread overview]
Message-ID: <2026120517-liquefy-salary-b3aa@gregkh> (raw)
In-Reply-To: <20261204185103.1687865-1-praneethb2002@gmail.com>
On Fri, Dec 04, 2026 at 10:51:03AM -0800, Praneeth Balasubramanian wrote:
> diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c
> index 26bae1aec423..1d5197f54aa6 100644
> --- a/drivers/misc/bh1770glc.c
> +++ b/drivers/misc/bh1770glc.c
> @@ -1319,6 +1319,7 @@ static int bh1770_resume(struct device *dev)
> struct bh1770_chip *chip = i2c_get_clientdata(client);
> int ret = 0;
>
> + mutex_lock(&chip->mutex);
Your llm is out-of-date, please use guard() instead.
prev parent reply other threads:[~2026-12-04 21:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 18:51 Praneeth Balasubramanian
2026-12-04 20:51 ` Greg Kroah-Hartman [this message]
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=2026120517-liquefy-salary-b3aa@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=praneethb2002@gmail.com \
--cc=stable@vger.kernel.org \
--cc=yaojiale02@163.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®