diff options
author | Vladis Dronov <vdronov@redhat.com> | 2015-11-27 17:20:06 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-12-11 01:38:06 (GMT) |
commit | 4066df6345f5b3bacdf7944c4d9a839f1eef5773 (patch) | |
tree | 1d6eefb6bb0b8c0b6aad19d2ebd1ca59d2d9c6cd /include/media | |
parent | 93de6901766c6821538b74a092e47780a9120fac (diff) | |
download | linux-4066df6345f5b3bacdf7944c4d9a839f1eef5773.tar.xz |
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 'include/media')
0 files changed, 0 insertions, 0 deletions