diff options
| author | Christian Gromm <christian.gromm@microchip.com> | 2020-05-15 11:21:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-15 15:35:12 +0200 |
| commit | c1a57be08e734baf1b89e4a5027cf78c68f29771 (patch) | |
| tree | 9d861be1fd4e9e07c15519f141a4e35f67aba730 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | staging: most: usb: remove reference to USB error codes (diff) | |
| download | linux-c1a57be08e734baf1b89e4a5027cf78c68f29771.tar.gz linux-c1a57be08e734baf1b89e4a5027cf78c68f29771.zip | |
staging: most: usb: check number of reported endpoints
This patch checks the number of endpoints reported by the USB
interface descriptor and throws an error if the number exceeds
MAX_NUM_ENDPOINTS.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1589534465-7423-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
