From: kernel test robot <lkp@intel.com>
To: Manjunatha Venkatesh <manjunatha.venkatesh@nxp.com>,
linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
will@kernel.org, axboe@kernel.dk
Cc: kbuild-all@lists.01.org, mb@lightnvm.io,
ckeepax@opensource.cirrus.com, manjunatha.venkatesh@nxp.com,
mst@redhat.com, javier@javigon.com, mikelley@microsoft.com,
jasowang@redhat.com, sunilmut@microsoft.com,
bjorn.andersson@linaro.org, rvmanjumce@gmail.com,
ashish.deshpande@nxp.com
Subject: Re: [PATCH v3] [PATCH v3] uwb: nxp: sr1xx: UWB driver support for sr1xx series chip
Date: Thu, 5 May 2022 18:06:42 +0800 [thread overview]
Message-ID: <202205051830.f36qJQ6E-lkp@intel.com> (raw)
In-Reply-To: <20220504171337.3416983-1-manjunatha.venkatesh@nxp.com>
Hi Manjunatha,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on linux/master linus/master v5.18-rc5 next-20220504]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Manjunatha-Venkatesh/uwb-nxp-sr1xx-UWB-driver-support-for-sr1xx-series-chip/20220505-020126
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 35a7609639c49f76f13f206402cbf692c4ae3e4e
config: sparc-buildonly-randconfig-r005-20220505 (https://download.01.org/0day-ci/archive/20220505/202205051830.f36qJQ6E-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/037b22462c3f4715f0a04e1be05cd12986880d21
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Manjunatha-Venkatesh/uwb-nxp-sr1xx-UWB-driver-support-for-sr1xx-series-chip/20220505-020126
git checkout 037b22462c3f4715f0a04e1be05cd12986880d21
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/misc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/misc/sr1xx.c:125:6: warning: no previous prototype for 'sr1xx_wait_for_irq_gpio_low' [-Wmissing-prototypes]
125 | void sr1xx_wait_for_irq_gpio_low(struct sr1xx_dev *sr1xx_dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/misc/sr1xx.c:720:5: warning: no previous prototype for 'sr1xx_dev_suspend' [-Wmissing-prototypes]
720 | int sr1xx_dev_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~
>> drivers/misc/sr1xx.c:736:5: warning: no previous prototype for 'sr1xx_dev_resume' [-Wmissing-prototypes]
736 | int sr1xx_dev_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~
vim +/sr1xx_wait_for_irq_gpio_low +125 drivers/misc/sr1xx.c
118
119 /**
120 * sr1xx_wait_for_irq_gpio_low
121 *
122 * Function to wait till irq gpio goes low state
123 *
124 */
> 125 void sr1xx_wait_for_irq_gpio_low(struct sr1xx_dev *sr1xx_dev)
126 {
127 int retry_count = 0;
128
129 do {
130 udelay(10);
131 retry_count++;
132 if (retry_count == MAX_RETRY_COUNT_FOR_HANDSHAKE) {
133 dev_info(&sr1xx_dev->spi->dev,
134 "Slave not released the IRQ even after 10ms");
135 break;
136 }
137 } while (gpio_get_value(sr1xx_dev->irq_gpio));
138 }
139
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-05-05 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 17:13 [PATCH v3] [PATCH v3] uwb: nxp: sr1xx: UWB driver support for sr1xx series chip Manjunatha Venkatesh
2022-05-04 22:48 ` kernel test robot
2022-05-05 10:06 ` kernel test robot [this message]
2022-05-05 19:20 ` Greg KH
2022-05-27 2:20 ` [EXT] " Manjunatha Venkatesh
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=202205051830.f36qJQ6E-lkp@intel.com \
--to=lkp@intel.com \
--cc=ashish.deshpande@nxp.com \
--cc=axboe@kernel.dk \
--cc=bjorn.andersson@linaro.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=gregkh@linuxfoundation.org \
--cc=jasowang@redhat.com \
--cc=javier@javigon.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manjunatha.venkatesh@nxp.com \
--cc=mb@lightnvm.io \
--cc=mikelley@microsoft.com \
--cc=mst@redhat.com \
--cc=rvmanjumce@gmail.com \
--cc=sunilmut@microsoft.com \
--cc=will@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox