diff options
-rw-r--r-- | drivers/ntb/hw/amd/ntb_hw_amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ntb/hw/amd/ntb_hw_amd.c b/drivers/ntb/hw/amd/ntb_hw_amd.c index cd463e132035..2859cc99b73e 100644 --- a/drivers/ntb/hw/amd/ntb_hw_amd.c +++ b/drivers/ntb/hw/amd/ntb_hw_amd.c | |||
@@ -333,7 +333,7 @@ static u64 amd_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) | |||
333 | if (db_vector < 0 || db_vector > ndev->db_count) | 333 | if (db_vector < 0 || db_vector > ndev->db_count) |
334 | return 0; | 334 | return 0; |
335 | 335 | ||
336 | return ntb_ndev(ntb)->db_valid_mask & (1 << db_vector); | 336 | return ntb_ndev(ntb)->db_valid_mask & (1ULL << db_vector); |
337 | } | 337 | } |
338 | 338 | ||
339 | static u64 amd_ntb_db_read(struct ntb_dev *ntb) | 339 | static u64 amd_ntb_db_read(struct ntb_dev *ntb) |