From: kernel test robot <lkp@intel.com>
To: Stephan Gerhold <stephan.gerhold@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev,
"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
Abel Vesa <abel.vesa@oss.qualcomm.com>
Subject: [bod:qcom-laptops-v6.18-rc4-camss-icp-bps-ipe-icp-boots+stats-b4 32/121] drivers/remoteproc/imx_dsp_rproc.c:1161:26: warning: implicit conversion from 'enum <anonymous>' to 'enum rproc_auto_boot'
Date: Sat, 04 Jul 2026 17:22:53 +0800 [thread overview]
Message-ID: <202607041725.aYV2Wi3S-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/bod/linux.git qcom-laptops-v6.18-rc4-camss-icp-bps-ipe-icp-boots+stats-b4
head: ebd1e440443121d18f730ab2aeea5586a754f36f
commit: 4c74b4c4ff2b1cbf3a174ccee42cd5668d114225 [32/121] remoteproc: core: Allow restarting detached remoteprocs with new firmware
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260704/202607041725.aYV2Wi3S-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260704/202607041725.aYV2Wi3S-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607041725.aYV2Wi3S-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/remoteproc/imx_dsp_rproc.c: In function 'imx_dsp_rproc_probe':
>> drivers/remoteproc/imx_dsp_rproc.c:1161:26: warning: implicit conversion from 'enum <anonymous>' to 'enum rproc_auto_boot' [-Wenum-conversion]
1161 | rproc->auto_boot = false;
| ^
vim +1161 drivers/remoteproc/imx_dsp_rproc.c
ec0e5549f3586d Shengjiu Wang 2021-10-11 1108
ec0e5549f3586d Shengjiu Wang 2021-10-11 1109 static int imx_dsp_rproc_probe(struct platform_device *pdev)
ec0e5549f3586d Shengjiu Wang 2021-10-11 1110 {
ec0e5549f3586d Shengjiu Wang 2021-10-11 1111 const struct imx_dsp_rproc_dcfg *dsp_dcfg;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1112 struct device *dev = &pdev->dev;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1113 struct imx_dsp_rproc *priv;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1114 struct rproc *rproc;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1115 const char *fw_name;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1116 int ret;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1117
ec0e5549f3586d Shengjiu Wang 2021-10-11 1118 dsp_dcfg = of_device_get_match_data(dev);
ec0e5549f3586d Shengjiu Wang 2021-10-11 1119 if (!dsp_dcfg)
ec0e5549f3586d Shengjiu Wang 2021-10-11 1120 return -ENODEV;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1121
ec0e5549f3586d Shengjiu Wang 2021-10-11 1122 ret = rproc_of_parse_firmware(dev, 0, &fw_name);
e819a62d52030a Peng Fan 2025-11-19 1123 if (ret)
e819a62d52030a Peng Fan 2025-11-19 1124 return dev_err_probe(dev, ret, "failed to parse firmware-name property\n");
ec0e5549f3586d Shengjiu Wang 2021-10-11 1125
8f12de7913af99 Andrew Davis 2024-01-23 1126 rproc = devm_rproc_alloc(dev, "imx-dsp-rproc", &imx_dsp_rproc_ops,
8f12de7913af99 Andrew Davis 2024-01-23 1127 fw_name, sizeof(*priv));
ec0e5549f3586d Shengjiu Wang 2021-10-11 1128 if (!rproc)
ec0e5549f3586d Shengjiu Wang 2021-10-11 1129 return -ENOMEM;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1130
ec0e5549f3586d Shengjiu Wang 2021-10-11 1131 priv = rproc->priv;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1132 priv->rproc = rproc;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1133 priv->dsp_dcfg = dsp_dcfg;
ab7bca5acdb7f7 Iuliana Prodan 2025-04-16 1134 /* By default, host waits for fw_ready reply */
ab7bca5acdb7f7 Iuliana Prodan 2025-04-16 1135 priv->flags |= WAIT_FW_READY;
ec0e5549f3586d Shengjiu Wang 2021-10-11 1136
11bb42a94648af Iuliana Prodan 2023-02-17 1137 if (no_mailboxes)
11bb42a94648af Iuliana Prodan 2023-02-17 1138 imx_dsp_rproc_mbox_init = imx_dsp_rproc_mbox_no_alloc;
11bb42a94648af Iuliana Prodan 2023-02-17 1139 else
11bb42a94648af Iuliana Prodan 2023-02-17 1140 imx_dsp_rproc_mbox_init = imx_dsp_rproc_mbox_alloc;
11bb42a94648af Iuliana Prodan 2023-02-17 1141
ec0e5549f3586d Shengjiu Wang 2021-10-11 1142 dev_set_drvdata(dev, rproc);
ec0e5549f3586d Shengjiu Wang 2021-10-11 1143
ec0e5549f3586d Shengjiu Wang 2021-10-11 1144 INIT_WORK(&priv->rproc_work, imx_dsp_rproc_vq_work);
ec0e5549f3586d Shengjiu Wang 2021-10-11 1145
ec0e5549f3586d Shengjiu Wang 2021-10-11 1146 ret = imx_dsp_rproc_detect_mode(priv);
e819a62d52030a Peng Fan 2025-11-19 1147 if (ret)
e819a62d52030a Peng Fan 2025-11-19 1148 return dev_err_probe(dev, ret, "failed on imx_dsp_rproc_detect_mode\n");
ec0e5549f3586d Shengjiu Wang 2021-10-11 1149
ec0e5549f3586d Shengjiu Wang 2021-10-11 1150 /* There are multiple power domains required by DSP on some platform */
ec0e5549f3586d Shengjiu Wang 2021-10-11 1151 ret = imx_dsp_attach_pm_domains(priv);
3003773ad67ace Peng Fan 2025-11-19 1152 if (ret < 0)
3003773ad67ace Peng Fan 2025-11-19 1153 return dev_err_probe(dev, ret, "failed on imx_dsp_attach_pm_domains\n");
3003773ad67ace Peng Fan 2025-11-19 1154
ec0e5549f3586d Shengjiu Wang 2021-10-11 1155 /* Get clocks */
ec0e5549f3586d Shengjiu Wang 2021-10-11 1156 ret = imx_dsp_rproc_clk_get(priv);
3003773ad67ace Peng Fan 2025-11-19 1157 if (ret)
3003773ad67ace Peng Fan 2025-11-19 1158 return dev_err_probe(dev, ret, "failed on imx_dsp_rproc_clk_get\n");
ec0e5549f3586d Shengjiu Wang 2021-10-11 1159
ec0e5549f3586d Shengjiu Wang 2021-10-11 1160 init_completion(&priv->pm_comp);
ec0e5549f3586d Shengjiu Wang 2021-10-11 @1161 rproc->auto_boot = false;
36951036a72527 Peng Fan 2025-11-19 1162 ret = devm_rproc_add(dev, rproc);
3003773ad67ace Peng Fan 2025-11-19 1163 if (ret)
3003773ad67ace Peng Fan 2025-11-19 1164 return dev_err_probe(dev, ret, "rproc_add failed\n");
ec0e5549f3586d Shengjiu Wang 2021-10-11 1165
c4c432dfb00fcb Shengjiu Wang 2025-07-22 1166 rproc_coredump_set_elf_info(rproc, ELFCLASS32, EM_XTENSA);
c4c432dfb00fcb Shengjiu Wang 2025-07-22 1167
412060242303d3 Peng Fan 2025-11-19 1168 return devm_pm_runtime_enable(dev);
ec0e5549f3586d Shengjiu Wang 2021-10-11 1169 }
ec0e5549f3586d Shengjiu Wang 2021-10-11 1170
:::::: The code at line 1161 was first introduced by commit
:::::: ec0e5549f3586d2cb99a05edd006d722ebad912c remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX
:::::: TO: Shengjiu Wang <shengjiu.wang@nxp.com>
:::::: CC: Mathieu Poirier <mathieu.poirier@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-04 9:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202607041725.aYV2Wi3S-lkp@intel.com \
--to=lkp@intel.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=bryan.odonoghue@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=stephan.gerhold@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.