From: kernel test robot <lkp@intel.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
shawnguo@kernel.org, s.hauer@pengutronix.de
Cc: oe-kbuild-all@lists.linux.dev, kernel@pengutronix.de,
festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com,
alexander.stein@ew.tq-group.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>,
Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 8/8] firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs
Date: Fri, 21 Jul 2023 14:46:36 +0800 [thread overview]
Message-ID: <202307211455.rru56Ub2-lkp@intel.com> (raw)
In-Reply-To: <20230720094128.536388-9-peng.fan@oss.nxp.com>
Hi Peng,
kernel test robot noticed the following build warnings:
[auto build test WARNING on shawnguo/for-next]
[also build test WARNING on linus/master v6.5-rc2 next-20230721]
[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/firmware-imx-scu-change-init-level-to-subsys_initcall_sync/20230720-174508
base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
patch link: https://lore.kernel.org/r/20230720094128.536388-9-peng.fan%40oss.nxp.com
patch subject: [PATCH 8/8] firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs
config: arm64-randconfig-r003-20230720 (https://download.01.org/0day-ci/archive/20230721/202307211455.rru56Ub2-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230721/202307211455.rru56Ub2-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/202307211455.rru56Ub2-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/firmware/imx/imx-scu-irq.c: In function 'wakeup_source_show':
>> drivers/firmware/imx/imx-scu-irq.c:179:16: warning: variable 'size' set but not used [-Wunused-but-set-variable]
179 | int i, size;
| ^~~~
vim +/size +179 drivers/firmware/imx/imx-scu-irq.c
175
176 static ssize_t wakeup_source_show(struct kobject *kobj,
177 struct kobj_attribute *attr, char *buf)
178 {
> 179 int i, size;
180
181 for (i = 0; i < IMX_SC_IRQ_NUM_GROUP; i++) {
182 if (!scu_irq_wakeup[i].wakeup_src)
183 continue;
184
185 if (scu_irq_wakeup[i].valid)
186 size = sprintf(buf, "Wakeup source group = %d, irq = 0x%x\n",
187 i, scu_irq_wakeup[i].wakeup_src);
188 else
189 size = sprintf(buf, "Spurious SCU wakeup, group = %d, irq = 0x%x\n",
190 i, scu_irq_wakeup[i].wakeup_src);
191 }
192
193 return strlen(buf);
194 }
195
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
shawnguo@kernel.org, s.hauer@pengutronix.de
Cc: oe-kbuild-all@lists.linux.dev, kernel@pengutronix.de,
festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com,
alexander.stein@ew.tq-group.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>,
Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 8/8] firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs
Date: Fri, 21 Jul 2023 14:46:36 +0800 [thread overview]
Message-ID: <202307211455.rru56Ub2-lkp@intel.com> (raw)
In-Reply-To: <20230720094128.536388-9-peng.fan@oss.nxp.com>
Hi Peng,
kernel test robot noticed the following build warnings:
[auto build test WARNING on shawnguo/for-next]
[also build test WARNING on linus/master v6.5-rc2 next-20230721]
[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/firmware-imx-scu-change-init-level-to-subsys_initcall_sync/20230720-174508
base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
patch link: https://lore.kernel.org/r/20230720094128.536388-9-peng.fan%40oss.nxp.com
patch subject: [PATCH 8/8] firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs
config: arm64-randconfig-r003-20230720 (https://download.01.org/0day-ci/archive/20230721/202307211455.rru56Ub2-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230721/202307211455.rru56Ub2-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/202307211455.rru56Ub2-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/firmware/imx/imx-scu-irq.c: In function 'wakeup_source_show':
>> drivers/firmware/imx/imx-scu-irq.c:179:16: warning: variable 'size' set but not used [-Wunused-but-set-variable]
179 | int i, size;
| ^~~~
vim +/size +179 drivers/firmware/imx/imx-scu-irq.c
175
176 static ssize_t wakeup_source_show(struct kobject *kobj,
177 struct kobj_attribute *attr, char *buf)
178 {
> 179 int i, size;
180
181 for (i = 0; i < IMX_SC_IRQ_NUM_GROUP; i++) {
182 if (!scu_irq_wakeup[i].wakeup_src)
183 continue;
184
185 if (scu_irq_wakeup[i].valid)
186 size = sprintf(buf, "Wakeup source group = %d, irq = 0x%x\n",
187 i, scu_irq_wakeup[i].wakeup_src);
188 else
189 size = sprintf(buf, "Spurious SCU wakeup, group = %d, irq = 0x%x\n",
190 i, scu_irq_wakeup[i].wakeup_src);
191 }
192
193 return strlen(buf);
194 }
195
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-07-21 6:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 9:41 [PATCH 0/8] firmware: imx: scu/scu-irq: misc update Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 1/8] firmware: imx: scu: change init level to subsys_initcall_sync Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 2/8] firmware: imx: scu: increase RPC timeout Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 3/8] firmware: imx: scu: drop return value check Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 4/8] firmware: imx: scu: use soc name for soc_id Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 5/8] firmware: imx: scu-irq: fix RCU complains after M4 partition reset Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 6/8] firmware: imx: scu-irq: export imx_scu_irq_get_status Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 15:19 ` kernel test robot
2023-07-20 15:19 ` kernel test robot
2023-07-20 9:41 ` [PATCH 7/8] firmware: imx: scu-irq: enlarge the IMX_SC_IRQ_NUM_GROUP Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-20 9:41 ` [PATCH 8/8] firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs Peng Fan (OSS)
2023-07-20 9:41 ` Peng Fan (OSS)
2023-07-21 6:46 ` kernel test robot [this message]
2023-07-21 6:46 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-07-22 12:31 [PATCH 0/8] firmware: imx: scu/scu-irq: misc update Peng Fan (OSS)
2023-07-22 12:31 ` [PATCH 8/8] firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs Peng Fan (OSS)
2023-07-22 12:31 ` Peng Fan (OSS)
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=202307211455.rru56Ub2-lkp@intel.com \
--to=lkp@intel.com \
--cc=aisheng.dong@nxp.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=ranjani.vaidyanathan@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.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.