aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorCosmin Ratiu <cratiu@nvidia.com>2024-07-08 11:00:25 +0300
committerJakub Kicinski <kuba@kernel.org>2024-07-09 18:59:35 -0700
commitf1ac0b7dcd49edf3ea5cc9345fdae70b6c2b199b (patch)
treeb143adada8676d9124681c07d377c1470aca668a /drivers/net/ethernet/intel/ice/ice_main.c
parent7204730b330460a3622bdbe038c492272d4d9a00 (diff)
downloadlinux-f1ac0b7dcd49edf3ea5cc9345fdae70b6c2b199b.tar.gz
linux-f1ac0b7dcd49edf3ea5cc9345fdae70b6c2b199b.tar.bz2
linux-f1ac0b7dcd49edf3ea5cc9345fdae70b6c2b199b.zip
net/mlx5e: CT: Initialize err to 0 to avoid warning
It is theoretically possible to return bogus uninitialized values from mlx5_tc_ct_entry_replace_rules, even though in practice this will never be the case as the flow rule will be part of at least the regular ct table or the ct nat table, if not both. But to reduce noise, initialize err to 0. Fixes: 49d37d05f216 ("net/mlx5: CT: Separate CT and CT-NAT tuple entries") Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20240708080025.1593555-11-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions