aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/octeontx/nic_main.c
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-04-21 16:11:07 +0000
committerTom Rini <trini@konsulko.com>2022-05-03 15:50:45 -0400
commitec8eba8c2d4e10e77699c56918d2078210aa1339 (patch)
tree90f8fc61f747fc7b9b333ba32e86eac31dd600ff /drivers/net/octeontx/nic_main.c
parent60f4142aa2e4156c6e4661184e6e9d9f1f8fb561 (diff)
pci: Check region ranges are addressable
When parsing the `ranges` DT node, check that both extremes of the regions are addressable without overflow. This assumption can then be safely made when processing the regions. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/net/octeontx/nic_main.c')
0 files changed, 0 insertions, 0 deletions