mirror of https://gitee.com/openkylin/linux.git
0ed95d769c
This patch fixes the below warning form smatch and makes the skl_tplg_bind_sinks take the next sink as argument which is true when the current sink is valid 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; Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
skl-messages.c | ||
skl-nhlt.c | ||
skl-nhlt.h | ||
skl-pcm.c | ||
skl-sst-cldma.c | ||
skl-sst-cldma.h | ||
skl-sst-dsp.c | ||
skl-sst-dsp.h | ||
skl-sst-ipc.c | ||
skl-sst-ipc.h | ||
skl-sst.c | ||
skl-topology.c | ||
skl-topology.h | ||
skl-tplg-interface.h | ||
skl.c | ||
skl.h |