From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [RFC] scmi: pinctrl: support i.MX9
Date: Thu, 24 Aug 2023 17:25:13 +0800 [thread overview]
Message-ID: <202308241754.4zFwbyxp-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "git am base is a link in commit message"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20230824070611.3335107-1-peng.fan@oss.nxp.com>
References: <20230824070611.3335107-1-peng.fan@oss.nxp.com>
TO: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Hi Peng,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on linusw-pinctrl/for-next]
[cannot apply to linus/master v6.5-rc7 next-20230824]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/scmi-pinctrl-support-i-MX9/20230824-150323
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/20230824070611.3335107-1-peng.fan%40oss.nxp.com
patch subject: [RFC] scmi: pinctrl: support i.MX9
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230824/202308241754.4zFwbyxp-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230824/202308241754.4zFwbyxp-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/r/202308241754.4zFwbyxp-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/firmware/arm_scmi/pinctrl.c: In function 'scmi_pinctrl_config_get':
>> drivers/firmware/arm_scmi/pinctrl.c:308:13: warning: unused variable 'attributes' [-Wunused-variable]
308 | u32 attributes;
| ^~~~~~~~~~
--
>> drivers/pinctrl/freescale/pinctrl-imx.c:83:5: warning: no previous prototype for 'imx_scmi_dt_node_to_map' [-Wmissing-prototypes]
83 | int imx_scmi_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np,
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/attributes +308 drivers/firmware/arm_scmi/pinctrl.c
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 301
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 302 static int scmi_pinctrl_config_get(const struct scmi_protocol_handle *ph,
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 303 u32 selector,
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 304 enum scmi_pinctrl_selector_type type,
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 305 u8 config_type, unsigned long *config_value)
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 306 {
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 307 int ret;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 @308 u32 attributes;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 309 struct scmi_xfer *t;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 310 struct scmi_msg_conf_get *tx;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 311
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 312 if (!config_value || type == FUNCTION_TYPE)
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 313 return -EINVAL;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 314
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 315 ret = scmi_pinctrl_validate_id(ph, selector, type);
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 316 if (ret)
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 317 return ret;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 318
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 319 ret = ph->xops->xfer_get_init(ph, PINCTRL_CONFIG_GET, sizeof(*tx), sizeof(__le32), &t);
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 320 if (ret)
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 321 return ret;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 322
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 323 tx = t->tx.buf;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 324 tx->identifier = cpu_to_le32(selector);
1d613cbfa881b8 Peng Fan 2023-08-24 325 /*
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 326 attributes = FIELD_PREP(REG_TYPE_BITS, type) |
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 327 FIELD_PREP(REG_CONFIG, config_type);
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 328 tx->attributes = cpu_to_le32(attributes);
1d613cbfa881b8 Peng Fan 2023-08-24 329 */
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 330
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 331 ret = ph->xops->do_xfer(ph, t);
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 332 if (!ret)
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 333 *config_value = get_unaligned_le32(t->rx.buf);
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 334
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 335 ph->xops->xfer_put(ph, t);
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 336 return ret;
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 337 }
3a61c44f60d18a Oleksii Moisieiev 2023-08-08 338
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-08-24 9:26 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 9:25 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-25 15:15 [RFC] scmi: pinctrl: support i.MX9 kernel test robot
2023-08-29 1:27 ` kernel test robot
2023-08-25 1:26 kernel test robot
2023-08-24 7:06 Peng Fan (OSS)
2023-08-24 7:06 ` Peng Fan (OSS)
2023-08-24 8:43 ` Linus Walleij
2023-08-24 8:43 ` Linus Walleij
2023-08-24 10:51 ` Sudeep Holla
2023-08-24 10:51 ` Sudeep Holla
2023-08-24 12:52 ` Peng Fan
2023-08-24 12:52 ` Peng Fan
2023-08-24 12:47 ` Peng Fan
2023-08-24 12:47 ` Peng Fan
2023-08-25 8:28 ` Linus Walleij
2023-08-25 8:28 ` Linus Walleij
2023-08-25 8:43 ` Peng Fan
2023-08-25 8:43 ` Peng Fan
2023-08-30 11:47 ` Cristian Marussi
2023-08-30 11:47 ` Cristian Marussi
2023-08-30 12:48 ` Peng Fan
2023-08-30 12:48 ` Peng Fan
2023-08-30 13:37 ` Cristian Marussi
2023-08-30 13:37 ` Cristian Marussi
2023-09-06 5:43 ` AKASHI Takahiro
2023-09-06 5:43 ` AKASHI Takahiro
2023-09-07 10:05 ` Cristian Marussi
2023-09-07 10:05 ` Cristian Marussi
2023-09-13 9:52 ` AKASHI Takahiro
2023-09-13 9:52 ` AKASHI Takahiro
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=202308241754.4zFwbyxp-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/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.