diff options
author | Pali Rohár <[email protected]> | 2021-11-25 13:45:51 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-01-04 14:58:18 +0000 |
commit | 8cdabfdd5a22ded53ab18f50df48e04dba744ad4 (patch) | |
tree | d45e0e7894712023a65d39c3c8fa53ac086f80c0 /net/lapb/lapb_timer.c | |
parent | 600b790309864fcc311b5dc701f8dc5c3b81374c (diff) |
PCI: mvebu: Check for valid ports
Some mvebu ports do not have to be initialized. So skip these uninitialized
mvebu ports in every port iteration function to prevent access to unmapped
memory or dereferencing NULL pointers. Uninitialized mvebu port has base
address set to NULL.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions