mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>,
	linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/2] Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
Date: Mon, 21 Feb 2022 17:10:57 +0800	[thread overview]
Message-ID: <202202211740.AbFni9u8-lkp@intel.com> (raw)
In-Reply-To: <20220221034214.2237097-1-marmarek@invisiblethingslab.com>

Hi "Marek,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on linus/master v5.17-rc5 next-20220217]
[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/0day-ci/linux/commits/Marek-Marczykowski-G-recki/Revert-xen-netback-remove-hotplug-status-once-it-has-served-its-purpose/20220221-114409
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2c271fe77d52a0555161926c232cd5bc07178b39
config: x86_64-randconfig-a011-20220221 (https://download.01.org/0day-ci/archive/20220221/202202211740.AbFni9u8-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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/0day-ci/linux/commit/0605cde993ca8f5f7ab43ae68117d73623edd227
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Marek-Marczykowski-G-recki/Revert-xen-netback-remove-hotplug-status-once-it-has-served-its-purpose/20220221-114409
        git checkout 0605cde993ca8f5f7ab43ae68117d73623edd227
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/net/xen-netback/xenbus.c:259:22: error: use of undeclared identifier 'dev'
                   xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status");
                                      ^
   1 error generated.


vim +/dev +259 drivers/net/xen-netback/xenbus.c

   249	
   250	static void backend_disconnect(struct backend_info *be)
   251	{
   252		struct xenvif *vif = be->vif;
   253	
   254		if (vif) {
   255			unsigned int num_queues = vif->num_queues;
   256			unsigned int queue_index;
   257	
   258			xen_unregister_watchers(vif);
 > 259			xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status");
   260	#ifdef CONFIG_DEBUG_FS
   261			xenvif_debugfs_delif(vif);
   262	#endif /* CONFIG_DEBUG_FS */
   263			xenvif_disconnect_data(vif);
   264	
   265			/* At this point some of the handlers may still be active
   266			 * so we need to have additional synchronization here.
   267			 */
   268			vif->num_queues = 0;
   269			synchronize_net();
   270	
   271			for (queue_index = 0; queue_index < num_queues; ++queue_index)
   272				xenvif_deinit_queue(&vif->queues[queue_index]);
   273	
   274			vfree(vif->queues);
   275			vif->queues = NULL;
   276	
   277			xenvif_disconnect_ctrl(vif);
   278		}
   279	}
   280	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

      parent reply	other threads:[~2022-02-21  9:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21  3:42 Marek Marczykowski-Górecki
2022-02-21  3:42 ` [PATCH 2/2] Revert "xen-netback: Check for hotplug-status existence before watching" Marek Marczykowski-Górecki
2022-02-21  9:10 ` 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=202202211740.AbFni9u8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marmarek@invisiblethingslab.com \
    --cc=netdev@vger.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

all inboxes | Powered by JetHome®