aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-03-18 08:51:06 -0500
committerDavid S. Miller <davem@davemloft.net>2019-03-18 18:32:44 -0700
commitfae846e2b7124d4b076ef17791c73addf3b26350 (patch)
tree631e46d6d5a7f1df08525a5575e9cb748eaa3904 /drivers/s390/net
parentMerge branch 'sctp-fix-ignoring-asoc_id-for-tcp-style-sockets-on-some-setsockopts' (diff)
downloadlinux-dev-fae846e2b7124d4b076ef17791c73addf3b26350.tar.xz
linux-dev-fae846e2b7124d4b076ef17791c73addf3b26350.zip
mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
The device ID alone does not uniquely identify a device. Test both the vendor and device ID to make sure we don't mistakenly think some other vendor's 0xB410 device is a Digium HFC4S. Also, instead of the bare hex ID, use the same constant (PCI_DEVICE_ID_DIGIUM_HFC4S) used in the device ID table. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions