[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bk4nwekq.fsf@kernel.org>
Date: Thu, 30 May 2024 17:37:41 +0300
From: Kalle Valo <kvalo@...nel.org>
To: "Nemanov, Michael" <michael.nemanov@...com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, Johannes Berg
<johannes.berg@...el.com>, Breno Leitao <leitao@...ian.org>, Justin
Stitt <justinstitt@...gle.com>, Kees Cook <keescook@...omium.org>,
<linux-wireless@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Sabeeh Khan <sabeeh-khan@...com>
Subject: Re: [PATCH 08/17] Add main.c
"Nemanov, Michael" <michael.nemanov@...com> writes:
> On 5/22/2024 12:46 PM, Krzysztof Kozlowski wrote:
>> ... > +} > + > +static int read_version_info(struct cc33xx *cc) > +{
>> > + int ret; > + > + cc33xx_info("Wireless driver version %s",
>> DRV_VERSION); Drop > + > + ret =
>> cc33xx_acx_init_get_fw_versions(cc); > + if (ret < 0) { > +
>> cc33xx_error("Get FW version FAILED!"); > + return ret; > + } > + >
>> + cc33xx_info("Wireless firmware version %u.%u.%u.%u", > +
>> cc->all_versions.fw_ver->major_version, > +
>> cc->all_versions.fw_ver->minor_version, > +
>> cc->all_versions.fw_ver->api_version, > +
>> cc->all_versions.fw_ver->build_version); > + > +
>> cc33xx_info("Wireless PHY version %u.%u.%u.%u.%u.%u", > +
>> cc->all_versions.fw_ver->phy_version[5], > +
>> cc->all_versions.fw_ver->phy_version[4], > +
>> cc->all_versions.fw_ver->phy_version[3], > +
>> cc->all_versions.fw_ver->phy_version[2], > +
>> cc->all_versions.fw_ver->phy_version[1], > +
>> cc->all_versions.fw_ver->phy_version[0]); > + > +
>> cc->all_versions.driver_ver = DRV_VERSION; Drop
>
> You mean drop the trace? Will exposing FW/PHY versions via debugfs be
> OK?
I'm guessing the comment was about DRV_VERSION. We don't use any version
strings for drivers as they are useless.
BTW please check your quoting style, it is hard to read your replies.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists