Files
linux/drivers
Leon Romanovsky 187782eb58 net/mlx4_core: Make explicit conversion to 64bit value
The "lg" variable is declared as int so in all places where this variable
is used as a shift operand, the output will be int too.

This produces the following smatch warning:
drivers/net/ethernet/mellanox/mlx4/fw.c:1532 mlx4_map_cmd() warn:
	should '1 << lg' be a 64 bit type?

Simple declaration of "1" to be "1ULL" will fix the issue.

Fixes: 225c7b1fee ("IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-29 14:58:32 -07:00
..
2017-08-09 22:43:50 -07:00
2017-07-24 17:38:21 +02:00
2017-08-22 11:04:51 -07:00
2017-08-21 11:08:03 +02:00
2017-08-28 16:42:57 -07:00
2017-08-03 21:37:30 -07:00
2017-06-03 19:29:26 +09:00
2017-06-03 19:29:26 +09:00