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:Peter Chen <peter.chen@nxp.com> Signed-off-by:
Felipe 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:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment