diff options
| author | Andrey Konovalov <[email protected]> | 2020-05-13 18:01:42 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-14 09:35:41 +0000 |
| commit | da39b5ee40bc00ae3edb4ae4e205b10bc52f980e (patch) | |
| tree | 3131e729c83e48986abb873aa888f9071019c3f7 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | usb: raw-gadget: documentation updates (diff) | |
| download | kernel-da39b5ee40bc00ae3edb4ae4e205b10bc52f980e.tar.gz kernel-da39b5ee40bc00ae3edb4ae4e205b10bc52f980e.zip | |
usb: raw-gadget: fix null-ptr-deref when reenabling endpoints
Currently we preassign gadget endpoints to raw-gadget endpoints during
initialization. Fix resetting this assignment in raw_ioctl_ep_disable(),
otherwise we will get null-ptr-derefs when an endpoint is reenabled.
Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
