diff options
| author | Hemant Kumar <hemantk@codeaurora.org> | 2017-02-21 15:49:21 -0800 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2017-03-08 13:35:09 -0800 |
| commit | e45656bfcef80b770cec32b9fcff9a21649b80f8 (patch) | |
| tree | 018e0d1ce58ff6446728e9f545b50953dfa35f88 /fs/btrfs/dev-replace.c | |
| parent | 74efdfc1b94955b82c85c48f51cc32c6b271f790 (diff) | |
usb: gadget: f_gsi: Fix NULL ptr dereference
When usb composition switch happens upon cable disconnect and
function bind fails, function's config pointer is set to NULL.
This is resulting in to NULL ptr dereference when config is
accessed from APIs which are called asynchronously and out
side of the usb core driver(i.e. dwc3) context. Fix the
issue by directly accessing gadget pointer from gsi driver
context in those APIs.
Change-Id: I1006881ae1838e8ddc8fa5e9ef501f4c658b54e7
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
