diff options
author | Dan Carpenter <[email protected]> | 2018-07-27 17:10:39 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-07-27 17:10:39 -0500 |
commit | a54e43f993f8ec2f063b616a0e4d2b09e08d78a5 (patch) | |
tree | bc0e1ef91e97a99c39f656bb14d774598f3b17cc /lib/netdev-notifier-error-inject.c | |
parent | bd91b56cb3b27492963caeb5fccefe20a986ca8d (diff) |
PCI: mobiveil: Avoid integer overflow in IB_WIN_SIZE
IB_WIN_SIZE is larger than INT_MAX so we need to cast it to u64.
Fixes: 9af6bcb11e12 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions