aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-11-27 17:19:53 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-12-02 16:53:09 -0800
commitc64d01b3ceba873aa8e8605598cec4a6bc6d1601 (patch)
treeb180c69f24c4fd6151931a8942cf5022ec28ccee /net/core/dev_ioctl.c
parentnet/mlx5: Fix some error handling paths in 'mlx5e_tc_add_fdb_flow()' (diff)
downloadwireguard-linux-c64d01b3ceba873aa8e8605598cec4a6bc6d1601.tar.xz
wireguard-linux-c64d01b3ceba873aa8e8605598cec4a6bc6d1601.zip
net/mlx5: SF, silence an uninitialized variable warning
This code sometimes calls mlx5_sf_hw_table_hwc_init() when "ext_base_id" is uninitialized. It's not used on that path, but it generates a static checker warning to pass uninitialized variables to another function. It may also generate runtime UBSan warnings depending on if the mlx5_sf_hw_table_hwc_init() function is inlined or not. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions