From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D48A33246EC; Sun, 10 May 2026 05:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778391696; cv=none; b=RF17QBnPSyR9MOFXhAw7wPzehnmalqEIW1lwYYsUZhdU9M2A4CXXrw/lA1J4hNt+4OQhQZmFmFl8SB2U9Sk5g2B7poQjSkLH27xAiHY0+M1ksP60W3QcACgLBtGHlQR7X6aDV/F8qXiqwiCeXnQvp1yBuxALFRYBZ6If9ZaAKyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778391696; c=relaxed/simple; bh=3/cBV5AN1XLyEk9dRTOiyr96+0xqZLMWKK07nBoRzqA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hQwERmEZ6BulruTYeAQ8ILNXcY46gyQNr63bqdsdyoNUtL7hxMFJnIiWyQeyk+KjIXrcLckFCrHfG1KTpilaLC97YGRmu0vzdk3VKCR3adspjCtSkNbr4NYnoXDDDxQE/o6LK87lJGyDHJozeHTEuiDP85sLOtK/Cgkc1aG6/+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mr6zAKhQ; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mr6zAKhQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778391694; x=1809927694; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3/cBV5AN1XLyEk9dRTOiyr96+0xqZLMWKK07nBoRzqA=; b=mr6zAKhQl4dXIaTkrKUjDKjDuD3/nhdl/aotB7Hwbc1mjGBMLQOzJo6X 3VoHpE3GfGS9z4cLJ90Q8MfjZdk/LP9Wp51zWNNtRTLxf/JFXQ6pJd2yk oCak4787TpDAiAzzbhNVVg/ErD/yJKXYXVbOCb6jA+lZH0ZZQQK7iqV0p FJlrPvzjUCnAnuNF9mZpQ2O7ga3UJEt+DUR7cn7hka6o2sdlkIQSg4lOk ywv06fkX2YdjxPtmF7MOJQBrvQhq1Thn4Hv3ChSJe++c4SzbzJnOP8k7F 1WY3sOfY44y5Rvc0Xn4pL7t3QATUoSBT/KbMDuO1DS+usp66SUz4H5Kn3 Q==; X-CSE-ConnectionGUID: 2kxJ6MlwQmC+t2YYMQbewA== X-CSE-MsgGUID: 53VX6PQoRM6dRwutKKS+Mw== X-IronPort-AV: E=McAfee;i="6800,10657,11781"; a="82930679" X-IronPort-AV: E=Sophos;i="6.23,227,1770624000"; d="scan'208";a="82930679" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2026 22:41:34 -0700 X-CSE-ConnectionGUID: 00cOE35qRx6bZhiJ1dnfyg== X-CSE-MsgGUID: Mx5aEHAvTyKZ++zOVUtDWQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,227,1770624000"; d="scan'208";a="237247196" Received: from lkp-server01.sh.intel.com (HELO 82327192134e) ([10.239.97.150]) by orviesa009.jf.intel.com with ESMTP; 09 May 2026 22:41:31 -0700 Received: from kbuild by 82327192134e with local (Exim 4.98.2) (envelope-from ) id 1wLwuu-000000001nV-3WB9; Sun, 10 May 2026 05:41:28 +0000 Date: Sun, 10 May 2026 13:41:03 +0800 From: kernel test robot To: Jiakai Xu , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiakai Xu Subject: Re: [PATCH] netdevsim: Fix task hung by releasing bus lock before device ops Message-ID: <202605101318.qbesSR5H-lkp@intel.com> References: <20260509092837.3432281-1-xujiakai24@mails.ucas.ac.cn> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260509092837.3432281-1-xujiakai24@mails.ucas.ac.cn> Hi Jiakai, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v7.1-rc2 next-20260508] [cannot apply to horms-ipvs/master] [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/Jiakai-Xu/netdevsim-Fix-task-hung-by-releasing-bus-lock-before-device-ops/20260510-070550 base: linus/master patch link: https://lore.kernel.org/r/20260509092837.3432281-1-xujiakai24%40mails.ucas.ac.cn patch subject: [PATCH] netdevsim: Fix task hung by releasing bus lock before device ops config: riscv-randconfig-001 (https://download.01.org/0day-ci/archive/20260510/202605101318.qbesSR5H-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260510/202605101318.qbesSR5H-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202605101318.qbesSR5H-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/netdevsim/bus.c: In function 'new_device_store': drivers/net/netdevsim/bus.c:192:3: error: implicit declaration of function 'nsim_bus_dev_del'; did you mean 'nsim_bus_dev_new'? [-Werror=implicit-function-declaration] nsim_bus_dev_del(nsim_bus_dev); ^~~~~~~~~~~~~~~~ nsim_bus_dev_new drivers/net/netdevsim/bus.c: At top level: >> drivers/net/netdevsim/bus.c:206:13: warning: conflicting types for 'nsim_bus_dev_del' static void nsim_bus_dev_del(struct nsim_bus_dev *nsim_bus_dev); ^~~~~~~~~~~~~~~~ drivers/net/netdevsim/bus.c:206:13: error: static declaration of 'nsim_bus_dev_del' follows non-static declaration drivers/net/netdevsim/bus.c:192:3: note: previous implicit declaration of 'nsim_bus_dev_del' was here nsim_bus_dev_del(nsim_bus_dev); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/nsim_bus_dev_del +206 drivers/net/netdevsim/bus.c f9d9db47d3ba873 Jiri Pirko 2019-04-25 205 e05b2d141fef22c Jiri Pirko 2019-04-25 @206 static void nsim_bus_dev_del(struct nsim_bus_dev *nsim_bus_dev); e05b2d141fef22c Jiri Pirko 2019-04-25 207 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki