diff options
| author | Peter Chen <peter.chen@nxp.com> | 2016-07-01 15:33:28 +0800 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2016-09-21 14:51:35 -0700 |
| commit | 19e19a171072c56fd3203a8d68e703963e5a90db (patch) | |
| tree | 0fdad5c73db9cf367052ae98a502d0997de2ad6c /net/unix/af_unix.c | |
| parent | 2d50ef2cf3860caea1fc70e41986c58a8a9b0a50 (diff) | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
