diff options
author | Subhransu S. Prusty | 2017-11-07 11:46:25 +0100 |
---|---|---|
committer | Mark Brown | 2017-11-08 19:58:24 +0100 |
commit | eb50fa1739a63cc4b202b40a62d71055a2d7b80c (patch) | |
tree | cbae0061a34ec9cd3f28d6a8ca4b4470e8d06c3a /drivers/net/tun.c | |
parent | ASoC: hdac_hdmi: Fix static checker warning for sprintf usage (diff) | |
download | kernel-qcow2-linux-eb50fa1739a63cc4b202b40a62d71055a2d7b80c.tar.gz kernel-qcow2-linux-eb50fa1739a63cc4b202b40a62d71055a2d7b80c.tar.xz kernel-qcow2-linux-eb50fa1739a63cc4b202b40a62d71055a2d7b80c.zip |
ASoC: hdac_hdmi: Fix possible NULL pointer dereference
Pointers hdac_hdmi_pcm and hda_device_id can be NULL, so add check for
valid pointer to avoid NULL pointer dereference.
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions