aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-smbus.c
diff options
context:
space:
mode:
authorVladis Dronov <vdronov@redhat.com>2015-11-27 18:20:06 +0100
committerBjorn Helgaas <bhelgaas@google.com>2015-12-10 19:38:06 -0600
commit4066df6345f5b3bacdf7944c4d9a839f1eef5773 (patch)
tree1d6eefb6bb0b8c0b6aad19d2ebd1ca59d2d9c6cd /drivers/i2c/i2c-smbus.c
parent93de6901766c6821538b74a092e47780a9120fac (diff)
downloadkernel_replicant_linux-4066df6345f5b3bacdf7944c4d9a839f1eef5773.tar.gz
kernel_replicant_linux-4066df6345f5b3bacdf7944c4d9a839f1eef5773.tar.bz2
kernel_replicant_linux-4066df6345f5b3bacdf7944c4d9a839f1eef5773.zip
PCI: Print warnings for all invalid expansion ROM headers
We've always validated that both bytes of the Expansion ROM signature and all four bytes of the PCI Data Structure signature (see PCI Firmware spec r3.0, sec 5.1.1), but we only printed a warning if the first byte of the ROM signature was invalid. Print warnings if *any* of those bytes are invalid. Note that we only look at these headers if we map or read the ROM. [bhelgaas: changelog, tweak printk format] Signed-off-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/i2c/i2c-smbus.c')
0 files changed, 0 insertions, 0 deletions