diff options
author | Hayes Wang <[email protected]> | 2021-05-24 14:49:42 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-24 13:15:29 -0700 |
commit | 1a44fb38cc65bc30bac490291412aa1940659fe1 (patch) | |
tree | a3c458b7802e7f2ba058efddde1f10bb17f198b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9b76eade16423ef06829cccfe3e100cfce31afcd (diff) |
r8152: check the informaton of the device
Verify some fields of the USB descriptor to make sure the driver
could be used by the device.
Besides, remove the check of endpoint number in rtl8152_probe().
usb_find_common_endpoints() includes it.
BugLink: https://syzkaller.appspot.com/bug?id=912c9c373656996801b4de61f1e3cb326fe940aa
Reported-by: [email protected]
Fixes: c2198943e33b ("r8152: search the configuration of vendor mode")
Signed-off-by: Hayes Wang <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions