public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: Ramon Fried <rfried.dev@gmail.com>, u-boot@lists.denx.de
Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
Subject: [PATCH 2/3] net: fec_mxc: Declare 'promisc' as bool
Date: Wed, 29 Sep 2021 13:50:45 +0800	[thread overview]
Message-ID: <20210929055046.4326-2-bmeng.cn@gmail.com> (raw)
In-Reply-To: <20210929055046.4326-1-bmeng.cn@gmail.com>

priv->promisc is used as the parameter of the set_promisc() call
which accepts a bool type instead of char.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 drivers/net/fec_mxc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h
index 62b55ef395..133f535917 100644
--- a/drivers/net/fec_mxc.h
+++ b/drivers/net/fec_mxc.h
@@ -272,7 +272,7 @@ struct fec_priv {
 	struct clk clk_ref;
 	struct clk clk_ptp;
 	u32 clk_rate;
-	char promisc;
+	bool promisc;
 };
 
 /**
-- 
2.25.1


  reply	other threads:[~2021-09-29  5:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29  5:50 [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call Bin Meng
2021-09-29  5:50 ` Bin Meng [this message]
2021-09-29 13:32   ` [PATCH 2/3] net: fec_mxc: Declare 'promisc' as bool Vladimir Oltean
2021-10-16 18:26     ` Ramon Fried
2021-09-29  5:50 ` [PATCH 3/3] net: tsec: Make redundant_init() static Bin Meng
2021-09-29 13:44   ` Vladimir Oltean
2021-10-16 18:27   ` Ramon Fried
2021-09-29 13:32 ` [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call Vladimir Oltean
2021-10-16 18:26   ` Ramon Fried
2021-10-27  2:18     ` Bin Meng
2021-10-28  4:53       ` Ramon Fried
2021-10-28 18:41         ` Ramon Fried
2021-10-28 19:29           ` Vladimir Oltean
2021-10-30 13:31             ` Ramon Fried
2021-10-30 13:37               ` Bin Meng
2021-10-30 14:39                 ` Ramon Fried
2021-10-31 22:04               ` Vladimir Oltean
2021-11-03  7:13                 ` Ramon Fried

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=20210929055046.4326-2-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=rfried.dev@gmail.com \
    --cc=u-boot@lists.denx.de \
    --cc=vladimir.oltean@nxp.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