From: Joas Antonio dos Santos <joasantonio108@gmail.com>
To: Daniel Machon <daniel.machon@microchip.com>
Cc: David S. Miller <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] net: dcb: initialize PFC value before calling getpfccfg
Date: Mon, 26 Oct 2026 09:21:00 -0300 [thread overview]
Message-ID: <179301726001.91878.13970924707743684105@gmail.com> (raw)
In-Reply-To: <20261026073235.3huvz6o5h6psyv76@DEN-DL-M70577>
On Mon, Oct 26, 2026 at 07:32, Daniel Machon wrote:
> I am not entirely sure, but should this patch add a fixes tag for a driver, when
> the change is only in the API?
Fair point. The uninitialized u8 is in dcbnl, the drivers only make it
visible, so the driver commits are not the right Fixes. I'll drop them.
> Also, if this dates back to the introduction of DCBNL then I guess its not a
> regression and maybe a fix for net-next?
Agreed. I'll send v2 for net-next once it reopens.
> Why noy initialize this at the declaration, like getall is?
That works. In both functions the PFC loop is the first user of value,
so initializing it at the declaration is enough. I'll do that in v2.
Thanks for the review,
Joas
next prev parent reply other threads:[~2026-10-26 12:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-25 1:47 Joas Antonio dos Santos
2026-10-26 7:32 ` Daniel Machon
2026-10-26 12:21 ` Joas Antonio dos Santos [this message]
2026-10-28 23:40 ` patchwork-bot+netdevbpf
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=179301726001.91878.13970924707743684105@gmail.com \
--to=joasantonio108@gmail.com \
--cc=anthony.l.nguyen@intel.com \
--cc=daniel.machon@microchip.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.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®