Leon Romanovsky 623248955d RDMA/mthca: 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/infiniband/hw/mthca/mthca_cmd.c:701 mthca_map_cmd() warn:
	should '1 << lg' be a 64 bit type?

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

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-24 16:27:10 -04:00
..
2017-08-22 13:59:46 -04:00
2017-08-22 13:59:46 -04:00
2013-10-14 10:10:00 -07:00
2017-08-18 14:47:37 -04:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00