tmp_suning_uos_patched/drivers/ntb
Dan Carpenter 1e590dec3e NTB: amd: Silence shift wrapping warning in amd_ntb_db_vector_mask()
This code triggers a Smatch warning:

    drivers/ntb/hw/amd/ntb_hw_amd.c:336 amd_ntb_db_vector_mask()
    warn: should '(1 << db_vector)' be a 64 bit type?

I don't think "db_vector" can be higher than 16 so this doesn't affect
runtime, but it's nice to silence the static checker warning and we
might increase "ndev->db_count" in the future.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2019-06-13 08:59:18 -04:00
..
hw NTB: amd: Silence shift wrapping warning in amd_ntb_db_vector_mask() 2019-06-13 08:59:18 -04:00
test NTB: ntb_perf: Clear stale values in doorbell and command SPAD register 2019-06-13 08:58:05 -04:00
Kconfig
Makefile
ntb_transport.c NTB: ntb_transport: Ensure qp->tx_mw_dma_addr is initaliazed 2019-06-13 08:58:12 -04:00
ntb.c NTB: Set dma mask and dma coherent mask to NTB devices 2018-01-28 22:17:23 -05:00