From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Omer PALA <palaomer100@gmail.com>
Cc: "open list:STAGING SUBSYSTEM" <linux-staging@lists.linux.dev>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] staging: rtl8723bs: Use guards for mutexes
Date: Sun, 20 Sep 2026 06:16:31 +0100 [thread overview]
Message-ID: <2026092014-despair-secular-d579@gregkh> (raw)
In-Reply-To: <20260919172419.60288-1-palaomer100@gmail.com>
On Sat, Sep 19, 2026 at 08:24:13PM +0300, Omer PALA wrote:
> Simplify lock management across the rtl8723bs driver by replacing
> manual spinlock and mutex acquire/release calls with scope-based
> cleanup guards (guard() and scoped_guard()).
>
> This reduces boilerplate code, removes redundant error-path unlock
> logic, and prevents potential lock leaks on early return statements.
>
> Signed-off-by: Omer PALA <palaomer100@gmail.com>
Please read the email archives for why we don't take patches like this.
thanks,
greg k-h
prev parent reply other threads:[~2026-09-20 5:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-19 17:24 [PATCH] staging: rtl8723bs: Use guards for mutexes Omer PALA
2026-09-20 5:16 ` 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=2026092014-despair-secular-d579@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=palaomer100@gmail.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 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.