CC: [email protected] CC: [email protected] TO: Cezary Rojewski <[email protected]> CC: Mark Brown <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: debe436e77c72fcee804fb867f275e6d31aa999c commit: 1b99d50b9709a2cddaba4a7faf1862b4f7bec865 ASoC: Intel: Skylake: Compile when any configuration is selected date: 8 months ago :::::: branch date: 18 hours ago :::::: commit date: 8 months ago config: x86_64-randconfig-m001-20211103 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: sound/soc/intel/skylake/skl-sst-utils.c:406 skl_prepare_lib_load() error: we previously assumed 'linfo->fw' could be null (see line 390) sound/soc/intel/skylake/cnl-sst.c:146 cnl_load_base_firmware() error: we previously assumed 'ctx->fw' could be null (see line 130) sound/soc/intel/skylake/skl.c:967 skl_first_init() warn: 'skl->pci' not released on lines: 921,929,947,965. sound/soc/intel/skylake/bxt-sst.c:202 bxt_load_base_firmware() error: we previously assumed 'ctx->fw' could be null (see line 187) sound/soc/intel/skylake/skl-sst.c:96 skl_load_base_firmware() error: we previously assumed 'ctx->fw' could be null (see line 76) vim +406 sound/soc/intel/skylake/skl-sst-utils.c ebe8907687c052 Subhransu S. Prusty 2017-04-25 382 bcc2a2dc3ba8c3 Cezary Rojewski 2019-07-23 383 int skl_prepare_lib_load(struct skl_dev *skl, struct skl_lib_info *linfo, ebe8907687c052 Subhransu S. Prusty 2017-04-25 384 struct firmware *stripped_fw, ebe8907687c052 Subhransu S. Prusty 2017-04-25 385 unsigned int hdr_offset, int index) ebe8907687c052 Subhransu S. Prusty 2017-04-25 386 { ebe8907687c052 Subhransu S. Prusty 2017-04-25 387 int ret; ebe8907687c052 Subhransu S. Prusty 2017-04-25 388 struct sst_dsp *dsp = skl->dsp; ebe8907687c052 Subhransu S. Prusty 2017-04-25 389 ebe8907687c052 Subhransu S. Prusty 2017-04-25 @390 if (linfo->fw == NULL) { ebe8907687c052 Subhransu S. Prusty 2017-04-25 391 ret = request_firmware(&linfo->fw, linfo->name, ebe8907687c052 Subhransu S. Prusty 2017-04-25 392 skl->dev); ebe8907687c052 Subhransu S. Prusty 2017-04-25 393 if (ret < 0) { ebe8907687c052 Subhransu S. Prusty 2017-04-25 394 dev_err(skl->dev, "Request lib %s failed:%d\n", ebe8907687c052 Subhransu S. Prusty 2017-04-25 395 linfo->name, ret); ebe8907687c052 Subhransu S. Prusty 2017-04-25 396 return ret; ebe8907687c052 Subhransu S. Prusty 2017-04-25 397 } ebe8907687c052 Subhransu S. Prusty 2017-04-25 398 } ebe8907687c052 Subhransu S. Prusty 2017-04-25 399 ebe8907687c052 Subhransu S. Prusty 2017-04-25 400 if (skl->is_first_boot) { ebe8907687c052 Subhransu S. Prusty 2017-04-25 401 ret = snd_skl_parse_uuids(dsp, linfo->fw, hdr_offset, index); ebe8907687c052 Subhransu S. Prusty 2017-04-25 402 if (ret < 0) ebe8907687c052 Subhransu S. Prusty 2017-04-25 403 return ret; ebe8907687c052 Subhransu S. Prusty 2017-04-25 404 } ebe8907687c052 Subhransu S. Prusty 2017-04-25 405 ebe8907687c052 Subhransu S. Prusty 2017-04-25 @406 stripped_fw->data = linfo->fw->data; ebe8907687c052 Subhransu S. Prusty 2017-04-25 407 stripped_fw->size = linfo->fw->size; ebe8907687c052 Subhransu S. Prusty 2017-04-25 408 skl_dsp_strip_extended_manifest(stripped_fw); ebe8907687c052 Subhransu S. Prusty 2017-04-25 409 ebe8907687c052 Subhransu S. Prusty 2017-04-25 410 return 0; ebe8907687c052 Subhransu S. Prusty 2017-04-25 411 } ebe8907687c052 Subhransu S. Prusty 2017-04-25 412 :::::: The code at line 406 was first introduced by commit :::::: ebe8907687c052b36839b5f9ed09005db4fbe83c ASoC: Intel: Skylake: Commonize library load :::::: TO: Subhransu S. Prusty <[email protected]> :::::: CC: Mark Brown <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
