diff options
| author | Fedor Pchelkin <[email protected]> | 2025-01-15 18:28:17 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2025-03-18 14:34:47 +0000 |
| commit | fd5625fc86922f36bedee5846fefd647b7e72751 (patch) | |
| tree | c340c0aa3608c6ba6f143b1ac1354fca8f2adf5d /drivers/net/xen-netback/interface.c | |
| parent | MAINTAINERS: Update AMD NTB maintainers (diff) | |
| download | kernel-fd5625fc86922f36bedee5846fefd647b7e72751.tar.gz kernel-fd5625fc86922f36bedee5846fefd647b7e72751.zip | |
ntb: use 64-bit arithmetic for the MSI doorbell mask
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: [email protected]
Signed-off-by: Fedor Pchelkin <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
