summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-boardinfo.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-08-13 10:27:01 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-14 08:17:49 +0400
commit4afba24e5fc2626a3c604ec990539572f6662ff9 (patch)
tree9747dae7206d7aa396ece4c22397d81ba848eba5 /drivers/i2c/i2c-boardinfo.c
parent93a6423bd84d977bd768a001c6c3868e6a20b63a (diff)
downloadlinux-4afba24e5fc2626a3c604ec990539572f6662ff9.tar.xz
sparc64: Skip bogus PCI bridge ranges.
It seems that when a PCI Express bridge is not in use and has no devices behind it, the ranges property is bogus. Specifically the size property is of the form [0xffffffff:...], and if you add this size to the resource start address the 64-bit calculation will overflow. Just check specifically for this size value signature and skip them. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c/i2c-boardinfo.c')
0 files changed, 0 insertions, 0 deletions