From: Larry Finger <Larry.Finger@lwfinger.net>
To: Zhang Shurong <zhang_shurong@foxmail.com>, pkshih@realtek.com
Cc: kvalo@kernel.org, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
Date: Tue, 4 Jul 2023 12:22:14 -0500 [thread overview]
Message-ID: <9ccf927e-7e68-91c4-3cfc-0ff535abe0a6@lwfinger.net> (raw)
In-Reply-To: <tencent_54814178D4285CA3D64B8CDC90D49A6CB10A@qq.com>
On 7/4/23 11:55, Zhang Shurong wrote:
> If there is a failure during rtw89_fw_h2c_raw() rtw89_debug_priv_send_h2c
> should return negative error code instead of a positive value count.
>
> Fix this bug by returning correct error code.
>
> The changes in this version:
> - fix some compile error
>
> Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
I have two comments on the patch itself:
1) Whenever you have a fix for the code, you need to annotate it using the
"Fixes: tag". See file Documentation/process/submitting-patches.rst in your
source tree.
2) The version change stuff should be in the following order:
Signed-off-by: ....
---
v2 - fixed compile error
---
Body of patch.
Placing it where you did would cause the details of "making the sausage" be
saved in the commit log. The reviewer and maintainer need to see it, but not the
end user.
Larry
next prev parent reply other threads:[~2023-07-04 17:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-04 16:55 Zhang Shurong
2023-07-04 17:22 ` Larry Finger [this message]
2023-07-05 0:16 ` Ping-Ke Shih
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=9ccf927e-7e68-91c4-3cfc-0ff535abe0a6@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
--cc=zhang_shurong@foxmail.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®