diff options
| author | Andrew Goodbody <[email protected]> | 2025-09-29 17:25:23 +0100 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2025-09-30 11:51:17 +0200 |
| commit | f58667587243ce652aaa7d0dd6557a2fb2da5020 (patch) | |
| tree | 84ce777ebaee2d2726074c009bd5fc00ffe3ebc7 /scripts/checkstack.pl | |
| parent | 3ce8a0e9115eaa0cdfc142459814b2283cf01785 (diff) | |
usb: gadget: atmel: Add missing null check
Add in the missing null check for udc->driver that is present at other
points in the function before it is dereferenced.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
