aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPawel Laszczak <[email protected]>2023-03-08 07:44:27 -0500
committerGreg Kroah-Hartman <[email protected]>2023-03-16 12:43:42 +0100
commit1272fd652a226ccb34e9f47371b6121948048438 (patch)
tree3c0f9b600f08228baf2b7c107fe3815e53334304 /lib/test_fortify/write_overflow-strncpy-src.c
parent5bc38d33a5a1209fd4de65101d1ae8255ea12c6e (diff)
usb: cdns3: Fix issue with using incorrect PCI device function
PCI based platform can have more than two PCI functions. USBSS PCI Glue driver during initialization should consider only DRD/HOST/DEVICE PCI functions and all other should be ignored. This patch adds additional condition which causes that only DRD and HOST/DEVICE function will be accepted. cc: <[email protected]> Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver") Signed-off-by: Pawel Laszczak <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions