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 IB/mthca: Remove deprecated create_singlethread_workqueue 2016-10-07 16:54:27 -04:00
mthca_cmd.c RDMA/mthca: Make explicit conversion to 64bit value 2017-08-24 16:27:10 -04:00
mthca_cmd.h IB/core cleanup: Add const on args - device->process_mad 2015-06-02 09:33:13 -04:00
mthca_config_reg.h
mthca_cq.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
mthca_dev.h IB/mthca: Replace PCI pool old API 2017-08-22 13:59:46 -04:00
mthca_doorbell.h
mthca_eq.c IB: Remove unnecessary semicolons 2013-10-14 10:10:00 -07:00
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 IB/mthca: Stop returning separate error and status from FW commands 2011-07-15 13:33:20 -07:00
mthca_memfree.c mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
mthca_memfree.h
mthca_mr.c IB/mthca: Fix buddy->num_free allocation size 2011-11-03 17:48:25 -07:00
mthca_pd.c
mthca_profile.c IB/mthca: use swap() in mthca_make_profile() 2015-06-11 01:10:59 -04:00
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 IB/mthca: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
mthca_srq.c IB/mthca: Stop returning separate error and status from FW commands 2011-07-15 13:33:20 -07:00
mthca_uar.c
mthca_user.h
mthca_wqe.h