diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-10 11:00:41 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-14 08:29:11 +0000 |
commit | ccb4214f7f2a8b75acf493f31128e464ee1a3536 (patch) | |
tree | d01ea3a31450b2cdae63c1e935fb0f945f7f4cdc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8fc262265918d2a1817103b454d32979f1d7f35c (diff) |
ASoC: soc-compress: Change the check for codec_dai
It should be better to reverse the check on codec_dai
and returned early in order to be easier to understand.
Fixes: de2c6f98817f ("ASoC: soc-compress: prevent the potentially use of null pointer")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220310030041.1556323-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions