diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-03-18 16:51:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 07:26:16 +0300 |
commit | c408426292eed4ce5747c994b356a42edf71a8f1 (patch) | |
tree | 2be4002dbfbcde51dc04e7f8cd5394fe2b196fcf /net/core/datagram.c | |
parent | e0f8c06f45c3e251a11e84793ab00c528e10cac6 (diff) | |
download | linux-c408426292eed4ce5747c994b356a42edf71a8f1.tar.xz |
mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
[ Upstream commit fae846e2b7124d4b076ef17791c73addf3b26350 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/datagram.c')
0 files changed, 0 insertions, 0 deletions