[PATCH 1/5] firmware: arm_scmi: imx: Add i.MX95 LMM protocol
kernel test robot
lkp at intel.com
Thu Jan 23 18:43:12 PST 2025
Hi Peng,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 0907e7fb35756464aa34c35d6abb02998418164b]
url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/firmware-arm_scmi-imx-Add-i-MX95-LMM-protocol/20250121-231254
base: 0907e7fb35756464aa34c35d6abb02998418164b
patch link: https://lore.kernel.org/r/20250121-imx-lmm-cpu-v1-1-0eab7e073e4e%40nxp.com
patch subject: [PATCH 1/5] firmware: arm_scmi: imx: Add i.MX95 LMM protocol
config: arm64-randconfig-r122-20250124 (https://download.01.org/0day-ci/archive/20250124/202501241025.6reKesXZ-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250124/202501241025.6reKesXZ-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501241025.6reKesXZ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/firmware/arm_scmi/vendors/imx/imx-sm-lmm.c:189:32: sparse: sparse: restricted __le32 degrades to integer
vim +189 drivers/firmware/arm_scmi/vendors/imx/imx-sm-lmm.c
172
173 static int scmi_imx_lmm_protocol_attributes_get(const struct scmi_protocol_handle *ph,
174 struct scmi_imx_lmm_priv *priv)
175 {
176 struct scmi_msg_imx_lmm_protocol_attributes *attr;
177 struct scmi_xfer *t;
178 int ret;
179
180 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0,
181 sizeof(*attr), &t);
182 if (ret)
183 return ret;
184
185 attr = t->rx.buf;
186
187 ret = ph->xops->do_xfer(ph, t);
188 if (!ret) {
> 189 priv->nr_lmm = SCMI_IMX_LMM_PROTO_ATTR_NUM_LM(attr->attributes);
190 dev_info(ph->dev, "i.MX LMM: %d Logical Machines\n",
191 priv->nr_lmm);
192 }
193
194 ph->xops->xfer_put(ph, t);
195
196 return ret;
197 }
198
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list