linux_dsm_epyc7002/drivers/infiniband/hw/mthca
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
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c IB/mthca: Replace PCI pool old API 2017-08-22 13:59:46 -04:00
mthca_catas.c
mthca_cmd.c RDMA/mthca: Make explicit conversion to 64bit value 2017-08-24 16:27:10 -04:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c
mthca_dev.h IB/mthca: Replace PCI pool old API 2017-08-22 13:59:46 -04:00
mthca_doorbell.h
mthca_eq.c
mthca_mad.c Add OPA extended LID support 2017-08-18 14:47:37 -04:00
mthca_main.c Merge branch 'misc' into k.o/for-next 2017-08-18 14:10:23 -04:00
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c IB/core: Fix input len in multiple user verbs 2017-08-22 14:02:29 -04:00
mthca_provider.h
mthca_qp.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
mthca_reset.c
mthca_srq.c
mthca_uar.c
mthca_user.h
mthca_wqe.h