android_kernel_oneplus_msm8998/drivers/isdn
Bjorn Helgaas 3f1c0e4b79 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>
2019-04-03 06:23:25 +02:00
..
act2000
capi isdn: fix kernel-infoleak in capi_unlocked_ioctl 2019-01-13 10:05:28 +01:00
divert
gigaset ser_gigaset: use container_of() instead of detour 2018-11-10 07:41:34 -08:00
hardware mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S 2019-04-03 06:23:25 +02:00
hisax isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw() 2019-02-20 10:13:13 +01:00
hysdn
i4l isdn: isdn_tty: fix build warning of strncpy 2019-03-23 08:44:22 +01:00
icn isdn: icn: remove a #warning 2018-02-25 11:03:42 +01:00
isdnloop drivers: isdn: isdnloop: isdnloop.c: Remove parenthesis around return values, as specified in CodingStyle. 2015-02-05 15:40:23 -08:00
mISDN mISDN: fix a race in dev_expire_timer() 2019-02-23 09:05:14 +01:00
pcbit
sc isdn: sc: work around type mismatch warning 2018-02-25 11:03:51 +01:00
Kconfig
Makefile