From: kernel test robot <lkp@intel.com>
To: tien.sung.ang@intel.com, Dinh Nguyen <dinguyen@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Ang Tien Sung <tien.sung.ang@intel.com>
Subject: Re: [PATCH 1/2] firmware: stratix10-svc: Support up to N SVC clients
Date: Tue, 20 Jun 2023 15:30:48 +0800 [thread overview]
Message-ID: <202306201523.U6yvKscG-lkp@intel.com> (raw)
In-Reply-To: <20230620035205.1158032-1-tien.sung.ang@intel.com>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.4-rc7 next-20230619]
[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/tien-sung-ang-intel-com/firmware-stratix10-svc-Support-up-to-N-SVC-clients/20230620-115443
base: linus/master
patch link: https://lore.kernel.org/r/20230620035205.1158032-1-tien.sung.ang%40intel.com
patch subject: [PATCH 1/2] firmware: stratix10-svc: Support up to N SVC clients
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20230620/202306201523.U6yvKscG-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230620/202306201523.U6yvKscG-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/202306201523.U6yvKscG-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/firmware/stratix10-svc.c: In function 'stratix10_svc_free_channels':
>> drivers/firmware/stratix10-svc.c:1149:21: warning: the comparison will always evaluate as 'true' for the address of 'svc_fifo' will never be NULL [-Waddress]
1149 | if (&ctrl->chans[i].svc_fifo)
| ^
drivers/firmware/stratix10-svc.c:167:22: note: 'svc_fifo' declared here
167 | struct kfifo svc_fifo;
| ^~~~~~~~
vim +1149 drivers/firmware/stratix10-svc.c
1138
1139 static void stratix10_svc_free_channels(struct stratix10_svc_controller *ctrl)
1140 {
1141 int i;
1142
1143 for (i = 0; i < SVC_NUM_CHANNEL; i++) {
1144 if (ctrl->chans[i].task) {
1145 kthread_stop(ctrl->chans[i].task);
1146 ctrl->chans[i].task = NULL;
1147 }
1148
> 1149 if (&ctrl->chans[i].svc_fifo)
1150 kfifo_free(&ctrl->chans[i].svc_fifo);
1151 }
1152 }
1153
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2023-06-20 7:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 3:52 tien.sung.ang
2023-06-20 7:30 ` kernel test robot [this message]
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=202306201523.U6yvKscG-lkp@intel.com \
--to=lkp@intel.com \
--cc=dinguyen@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tien.sung.ang@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®