diff options
| author | Andrew Goodbody <[email protected]> | 2025-09-29 17:40:43 +0100 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2025-09-30 11:53:10 +0200 |
| commit | 5ac61383b2db15b037e87bd353f726eafc49e181 (patch) | |
| tree | 3a9ae7b11eb6027f64b0085cf77da2ab08133180 /doc/develop/checkpatch.rst | |
| parent | f58667587243ce652aaa7d0dd6557a2fb2da5020 (diff) | |
usb: dwc2: Add missing null check
Add in the missing null check for dev->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 'doc/develop/checkpatch.rst')
0 files changed, 0 insertions, 0 deletions
