From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC 3/6] yenta_socket: copy pccard core code into driver
Date: Tue, 28 Feb 2023 03:02:32 +0800 [thread overview]
Message-ID: <202302280244.YensTdvb-lkp@intel.com> (raw)
In-Reply-To: <20230227133457.431729-4-arnd@kernel.org>
Hi Arnd,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on pci/next]
[also build test WARNING on pci/for-linus soc/for-next linus/master v6.2 next-20230227]
[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/Arnd-Bergmann/pccard-remove-bcm63xx-socket-driver/20230227-213913
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20230227133457.431729-4-arnd%40kernel.org
patch subject: [RFC 3/6] yenta_socket: copy pccard core code into driver
config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230228/202302280244.YensTdvb-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.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/34b7367024292e3954b6dcb4f1e126ed0da3f7c1
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Arnd-Bergmann/pccard-remove-bcm63xx-socket-driver/20230227-213913
git checkout 34b7367024292e3954b6dcb4f1e126ed0da3f7c1
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302280244.YensTdvb-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/pcmcia/yenta_socket.c:1328:5: warning: no previous prototype for 'pcmcia_reset_card' [-Wmissing-prototypes]
1328 | int pcmcia_reset_card(struct pcmcia_socket *skt)
| ^~~~~~~~~~~~~~~~~
--
>> drivers/pcmcia/yenta_socket.c:3576: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* EnE specific part. EnE bridges are register compatible with TI bridges but
vim +/pcmcia_reset_card +1328 drivers/pcmcia/yenta_socket.c
1321
1322
1323 /* I'm not sure which "reset" function this is supposed to use,
1324 * but for now, it uses the low-level interface's reset, not the
1325 * CIS register.
1326 */
1327
> 1328 int pcmcia_reset_card(struct pcmcia_socket *skt)
1329 {
1330 int ret;
1331
1332 dev_dbg(&skt->dev, "resetting socket\n");
1333
1334 mutex_lock(&skt->skt_mutex);
1335 do {
1336 if (!(skt->state & SOCKET_PRESENT)) {
1337 dev_dbg(&skt->dev, "can't reset, not present\n");
1338 ret = -ENODEV;
1339 break;
1340 }
1341 if (skt->state & SOCKET_SUSPEND) {
1342 dev_dbg(&skt->dev, "can't reset, suspended\n");
1343 ret = -EBUSY;
1344 break;
1345 }
1346 if (skt->state & SOCKET_CARDBUS) {
1347 dev_dbg(&skt->dev, "can't reset, is cardbus\n");
1348 ret = -EPERM;
1349 break;
1350 }
1351
1352 if (skt->callback)
1353 skt->callback->suspend(skt);
1354 mutex_lock(&skt->ops_mutex);
1355 ret = socket_reset(skt);
1356 mutex_unlock(&skt->ops_mutex);
1357 if ((ret == 0) && (skt->callback))
1358 skt->callback->resume(skt);
1359
1360 ret = 0;
1361 } while (0);
1362 mutex_unlock(&skt->skt_mutex);
1363
1364 return ret;
1365 } /* reset_card */
1366 EXPORT_SYMBOL(pcmcia_reset_card);
1367
1368
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-02-27 19:03 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-27 13:34 [RFC 0/6] pcmcia: separate 16-bit support from cardbus Arnd Bergmann
2023-02-27 13:34 ` Arnd Bergmann
2023-02-27 13:34 ` [RFC 1/6] pccard: remove bcm63xx socket driver Arnd Bergmann
2023-02-27 13:34 ` Arnd Bergmann
2023-02-27 21:33 ` Florian Fainelli
2023-02-27 21:33 ` Florian Fainelli
2023-03-14 8:53 ` Maxime Bizon
2023-02-27 13:34 ` [RFC 2/6] pccard: split cardbus support from pcmcia Arnd Bergmann
2023-02-27 13:34 ` Arnd Bergmann
2023-02-27 13:34 ` [RFC 3/6] yenta_socket: copy pccard core code into driver Arnd Bergmann
2023-02-27 19:02 ` kernel test robot [this message]
2023-02-27 13:34 ` [RFC 4/6] yenta_socket: remove dead code Arnd Bergmann
2023-02-27 13:34 ` Arnd Bergmann
2023-02-27 13:34 ` [RFC 5/6] pccard: drop remnants of cardbus support Arnd Bergmann
2023-02-27 13:34 ` Arnd Bergmann
2023-02-27 13:34 ` [RFC 6/6] pci: hotplug: move cardbus code from drivers/pcmcia Arnd Bergmann
2023-02-27 13:34 ` Arnd Bergmann
2023-02-27 17:19 ` kernel test robot
2023-02-27 19:07 ` [RFC 0/6] pcmcia: separate 16-bit support from cardbus Oliver Hartkopp
2023-02-27 19:07 ` Oliver Hartkopp
2023-02-27 19:53 ` Arnd Bergmann
2023-02-27 19:53 ` Arnd Bergmann
2023-02-27 20:32 ` Oliver Hartkopp
2023-02-27 20:32 ` Oliver Hartkopp
2023-02-27 20:54 ` Marc Kleine-Budde
2023-02-27 20:54 ` Marc Kleine-Budde
2023-02-27 20:15 ` Russell King (Oracle)
2023-02-27 20:15 ` Russell King (Oracle)
2023-02-27 21:04 ` Arnd Bergmann
2023-02-27 21:04 ` Arnd Bergmann
2023-02-28 22:45 ` David Laight
2023-02-28 22:45 ` David Laight
2023-02-28 22:55 ` David Laight
2023-02-28 22:55 ` David Laight
2023-02-27 20:23 ` Larry Finger
2023-02-27 20:23 ` Larry Finger
2023-02-27 20:38 ` Arnd Bergmann
2023-02-27 20:38 ` Arnd Bergmann
2023-02-27 20:59 ` Russell King (Oracle)
2023-02-27 20:59 ` Russell King (Oracle)
2023-02-27 21:09 ` Larry Finger
2023-02-27 21:09 ` Larry Finger
2023-02-27 21:30 ` Arnd Bergmann
2023-02-27 21:30 ` Arnd Bergmann
2023-02-28 3:57 ` Larry Finger
2023-02-28 3:57 ` Larry Finger
2023-02-28 8:37 ` Arnd Bergmann
2023-02-28 8:37 ` Arnd Bergmann
2023-03-01 1:13 ` Larry Finger
2023-03-01 1:13 ` Larry Finger
2023-03-01 8:01 ` Arnd Bergmann
2023-03-01 8:01 ` Arnd Bergmann
2023-02-28 21:35 ` Ondrej Zary
2023-02-28 21:35 ` Ondrej Zary
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=202302280244.YensTdvb-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@kernel.org \
--cc=oe-kbuild-all@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.