diff options
author | Fedor Pchelkin <pchelkin@ispras.ru> | 2025-01-15 21:28:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-20 11:23:16 +0300 |
commit | af18f70aa04ba01bd4ef3b72b6203370fe54a8cc (patch) | |
tree | dc161770c525c56bb556b06eb39cff69fcf7a57a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 31afd1bc880acb3a6583823a457f1908b37f6a11 (diff) | |
download | linux-af18f70aa04ba01bd4ef3b72b6203370fe54a8cc.tar.xz |
ntb: use 64-bit arithmetic for the MSI doorbell mask
commit fd5625fc86922f36bedee5846fefd647b7e72751 upstream.
msi_db_mask is of type 'u64', still the standard 'int' arithmetic is
performed to compute its value.
While most of the ntb_hw drivers actually don't utilize the higher 32
bits of the doorbell mask now, this may be the case for Switchtec - see
switchtec_ntb_init_db().
Found by Linux Verification Center (linuxtesting.org) with SVACE static
analysis tool.
Fixes: 2b0569b3b7e6 ("NTB: Add MSI interrupt support to ntb_transport")
Cc: stable@vger.kernel.org
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions