[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230323220530.0d979b62@kernel.org>
Date: Thu, 23 Mar 2023 22:05:30 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: <edward.cree@....com>
Cc: <linux-net-drivers@....com>, <davem@...emloft.net>,
<pabeni@...hat.com>, <edumazet@...gle.com>,
Edward Cree <ecree.xilinx@...il.com>, <netdev@...r.kernel.org>,
<habetsm.xilinx@...il.com>, <michal.swiatkowski@...ux.intel.com>
Subject: Re: [PATCH net-next v2 5/6] sfc: add code to register and
unregister encap matches
On Thu, 23 Mar 2023 20:45:13 +0000 edward.cree@....com wrote:
> +__always_unused
> +static int efx_tc_flower_record_encap_match(struct efx_nic *efx,
> + struct efx_tc_match *match,
> + enum efx_encap_type type,
> + struct netlink_ext_ack *extack)
> +{
> + struct efx_tc_encap_match *encap, *old;
> + bool ipv6;
> + int rc;
clang sayeth
drivers/net/ethernet/sfc/tc.c:414:43: warning: variable 'ipv6' is uninitialized when used here [-Wuninitialized]
rc = efx_mae_check_encap_match_caps(efx, ipv6, extack);
^~~~
drivers/net/ethernet/sfc/tc.c:356:11: note: initialize the variable 'ipv6' to silence this warning
bool ipv6;
^
= 0
Powered by blists - more mailing lists