[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <47ccdbc0-765c-4b43-b347-f7c3bf047e39@yunsilicon.com>
Date: Tue, 31 Dec 2024 17:28:48 +0800
From: "weihonggang" <weihg@...silicon.com>
To: "Andrew Lunn" <andrew@...n.ch>
Cc: "Xin Tian" <tianx@...silicon.com>, <netdev@...r.kernel.org>,
<andrew+netdev@...n.ch>, <kuba@...nel.org>, <pabeni@...hat.com>,
<edumazet@...gle.com>, <davem@...emloft.net>,
<jeff.johnson@....qualcomm.com>, <przemyslaw.kitszel@...el.com>,
<wanry@...silicon.com>
Subject: Re: [PATCH v2 08/14] net-next/yunsilicon: Add ethernet interface
在 2024/12/31 下午1:12, Andrew Lunn 写道:
> On Tue, Dec 31, 2024 at 12:13:23AM +0800, weihonggang wrote:
>> Andrew, In another module(xsc_pci), we check xdev_netdev is NULL or not
>> to see whether network module(xsc_eth) is loaded. we do not care about
>> the real type,and we do not want to include the related header files in
>> other modules. so we use the void type.
> Please don't top post.
>
> If all you care about is if the module is loaded, turn it into a bool,
> and set it true.
>
> Andrew
Sorry, I checked the code,rdma module(not in current patch) will use
the veriable and turn it to real type。so it can not turn into bool type
instead。Any other suggestions?
Powered by blists - more mailing lists