summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2021-05-24 14:49:42 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-24 13:15:29 -0700
commit1a44fb38cc65bc30bac490291412aa1940659fe1 (patch)
treea3c458b7802e7f2ba058efddde1f10bb17f198b5 /tools/perf/scripts/python/export-to-postgresql.py
parent9b76eade16423ef06829cccfe3e100cfce31afcd (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: syzbot+95afd23673f5dd295c57@syzkaller.appspotmail.com Fixes: c2198943e33b ("r8152: search the configuration of vendor mode") Signed-off-by: Hayes Wang <hayeswang@realtek.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions