net/mlx5: Fix variable type to match 64bit
authorEran Ben Elisha <eranbe@nvidia.com>
Tue, 10 Aug 2021 18:15:05 +0000 (21:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:28 +0000 (13:40 +0200)
commit155e7047909d871f2910bf24b66432c23a2a11e4
tree9c1fd2b118c3cea0f3daf7552ef230aae5fa12ae
parentf86bc4a1a401d3691bad41e67f9db0c2ea94da32
net/mlx5: Fix variable type to match 64bit

[ Upstream commit 979aa51967add26b37f9d77e01729d44a2da8e5f ]

Fix the following smatch warning:
wait_func_handle_exec_timeout() warn: should '1 << ent->idx' be a 64 bit type?

Use 1ULL, to have a 64 bit type variable.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c