From: "Bera Yüzlü" <b9788213@gmail.com>
To: dennylin0707@gmail.com
Cc: ethantidmore@gmail.com, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Subject: Re: [PATCH v2] staging: rtl8723bs: use standard error codes in xmit init path
Date: Sun, 5 Apr 2026 19:48:05 +0300 [thread overview]
Message-ID: <20260405164804.5675-2-b9788213@gmail.com> (raw)
In-Reply-To: <20260405115728.12184-1-dennylin0707@gmail.com>
On Sun, 5 Apr 2026 11:57:28 +0000, Hungyu Lin wrote:
> Replace the use of _SUCCESS/_FAIL return values with standard
> kernel return conventions (0 on success, negative errno on failure)
> in the xmit initialization path.
>
> Specifically:
> - rtw_os_xmit_resource_alloc() now returns 0 or -ENOMEM
> - rtw_alloc_hwxmits() now returns 0 or -ENOMEM
> - _rtw_init_xmit_priv() updated to propagate error codes and use
> direct truth checks instead of comparing with _FAIL
> - caller in os_intfs.c updated accordingly
>
> This improves error propagation and aligns the driver with
> kernel coding style.
>
> Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
> ---
Can't apply it to staging-next.
prev parent reply other threads:[~2026-04-05 16:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-05 11:57 [PATCH v2] staging: rtl8723bs: use standard error codes in xmit init path Hungyu Lin
2026-04-05 16:48 ` Bera Yüzlü [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=20260405164804.5675-2-b9788213@gmail.com \
--to=b9788213@gmail.com \
--cc=dennylin0707@gmail.com \
--cc=ethantidmore@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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