commit | e8b6c76974bfb6e437fff01b37a9bd1ca16bdf41 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Tue Nov 02 11:09:12 2021 +0100 |
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | Thu Nov 04 09:48:44 2021 +0100 |
tree | 63cc9b1468ace1e0fd420838dcf2159ac4fa74a5 | |
parent | c44bac985628ec6311320527fd194272ff708a63 [diff] |
fix(drivers/usb): fix Null pointer dereferences in usb_core_set_config Correct the invalid test on NULL pointer pdev->class in usb_core_set_config function. This patch fix the coverity errors: ** CID 373790: Null pointer dereferences (FORWARD_NULL) /drivers/usb/usb_device.c: 182 in usb_core_set_config() Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: I83e43261bafa2d47f800e56df0b047a6c58a1e29