DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Venkat Kumar Ande <VenkatKumar.Ande@amd.com>
Cc: <dev@dpdk.org>, <Selwin.Sebastian@amd.com>, <stable@dpdk.org>
Subject: Re: [PATCH v2] net/axgbe: fix the build warning for GCC-16
Date: Thu, 13 Nov 2025 09:33:03 -0800	[thread overview]
Message-ID: <20251113093303.40f0c83a@phoenix> (raw)
In-Reply-To: <20251113164109.522-1-VenkatKumar.Ande@amd.com>

On Thu, 13 Nov 2025 22:11:09 +0530
Venkat Kumar Ande <VenkatKumar.Ande@amd.com> wrote:

> Build warning reported for local variable set and not used on GCC-16.
> Fix the issue by using the variable for missed register write operation.
> 
> ../drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_disable’:
> ../drivers/net/axgbe/axgbe_ethdev.c:1744:22: warning:
> variable ‘mac_tscr’ set but not used [-Wunused-but-set-variable=]
>  1744 |         unsigned int mac_tscr = 0;
>       |                      ^~~~~~~~
> 
> Bugzilla ID: 1819
> Fixes: e04449488fdb ("net/axgbe: support IEEE 1588 PTP")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Venkat Kumar Ande <VenkatKumar.Ande@amd.com>
> ---

Queued to next-net

      reply	other threads:[~2025-11-13 17:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-13 11:30 [PATCH v1] net/axgbe: fix the build warninig " Venkat Kumar Ande
2025-11-13 16:41 ` [PATCH v2] net/axgbe: fix the build warning " Venkat Kumar Ande
2025-11-13 17:33   ` Stephen Hemminger [this message]

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=20251113093303.40f0c83a@phoenix \
    --to=stephen@networkplumber.org \
    --cc=Selwin.Sebastian@amd.com \
    --cc=VenkatKumar.Ande@amd.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /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;
as well as URLs for NNTP newsgroup(s).