Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb04cede authored by Peter Chen's avatar Peter Chen Committed by Gerrit - the friendly Code Review server
Browse files

usb: gadget: composite: fix dereference after null check coverify warning



cdev->config is checked for null pointer at above code, so cdev->config
might be null, fix it by adding null pointer check.

Change-Id: Ie919a2a886924f1b1e01415bfdaa53f74046f5b0
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
Git-commit: c526c62d565ea5a5bba9433f28756079734f430d
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent efc0a843
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment