From: Jakub Kicinski <kuba@kernel.org>
To: Yang Yingliang <yangyingliang@huawei.com>
Cc: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>,
<andrew@lunn.ch>, <vivien.didelot@gmail.com>,
<davem@davemloft.net>
Subject: Re: [PATCH -next 1/2] net: dsa: qca8k: check return value of read functions correctly
Date: Fri, 28 May 2021 14:19:05 -0700 [thread overview]
Message-ID: <20210528141905.2cd83f81@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> (raw)
In-Reply-To: <20210528082240.3863991-2-yangyingliang@huawei.com>
On Fri, 28 May 2021 16:22:39 +0800 Yang Yingliang wrote:
> @@ -1793,14 +1783,15 @@ static int qca8k_read_switch_id(struct qca8k_priv *priv)
> const struct qca8k_match_data *data;
> u32 val;
> u8 id;
> + int ret;
ret before id to keep the reverse xmas tree ordering
next prev parent reply other threads:[~2021-05-28 21:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 8:22 [PATCH -next 0/2] " Yang Yingliang
2021-05-28 8:22 ` [PATCH -next 1/2] " Yang Yingliang
2021-05-28 21:15 ` Jakub Kicinski
2021-05-28 21:19 ` Jakub Kicinski [this message]
2021-05-28 8:22 ` [PATCH -next 2/2] net: dsa: qca8k: add missing check return value in qca8k_phylink_mac_config() Yang Yingliang
2021-05-28 21:18 ` Jakub Kicinski
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=20210528141905.2cd83f81@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net \
--to=kuba@kernel.org \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@gmail.com \
--cc=yangyingliang@huawei.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®