Skip to contentSkip to conversation

ASoC: Intel: Skylake: Add support for virtual dsp widgets

DISCUSSION Dan Carpenter 1 participant 1 message Nov 3, 2015

lore
Share & tools
lore
#0 lore raw

Hello Jeeja KP,

This is a semi-automatic email about new static checker warnings.

The patch 9a3b9dc636b0: "ASoC: Intel: Skylake: Add support for virtual dsp widgets" from Oct 27, 2015, leads to the following Smatch complaint:

sound/soc/intel/skylake/skl-topology.c:453 skl_tplg_bind_sinks()
error: we previously assumed 'sink' could be null (see line 452)

sound/soc/intel/skylake/skl-topology.c
451
452 if (!sink)

                     ^^^^

New check. Reversed?

   453			return skl_tplg_bind_sinks(sink, skl, src_mconfig);
                                                   ^^^^

This is dereferenced inside the function.

454
455 return 0;

regards,
dan carpenter