From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 63BAB158DB2 for ; Tue, 10 Sep 2024 05:13:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.137 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725945215; cv=none; b=eW6q6/KpMT2LXSZnmb7duTU5NN+SjDMZGZab2JGVA/eV4cTgYbQrjBtwcXX28k78XtnNqYINUQGjwYSGLdAs/hDAkODcnKGKBgYqbZYfyQTBqmww6zwo4yM/c3yzJyYLpbZaGHBHAY6DOIedsk3E8uW9OKvh3Ydugur/GZAaYNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725945215; c=relaxed/simple; bh=SuuZllRm35ADvfaTLAuyMG97Is+OLQc+Q2WWo5c4Rp0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o+ugdQSJbjYrrb1+inYLl6WN6h7+1pe0siEBWAO9tG6GPUmImlc6AOnJ12RYPASHzf87OvJUX1HKK/R91oWKuXUJBqXPamuTF/J0GRlx3OKXaTFqinO5rCUfVzK0rZJXInwqqmvh8FoJnm1sBEGOsnDjcJZjhEVqDNmu9EvE/ac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hK/FBEfP; arc=none smtp.client-ip=140.211.166.137 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hK/FBEfP" Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 077AA40305 for ; Tue, 10 Sep 2024 05:13:34 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org X-Spam-Flag: NO X-Spam-Score: -8.092 X-Spam-Level: Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id alrors5eplQ9 for ; Tue, 10 Sep 2024 05:13:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.18; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 96793402FD Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=intel.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 96793402FD Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=hK/FBEfP Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by smtp4.osuosl.org (Postfix) with ESMTPS id 96793402FD for ; Tue, 10 Sep 2024 05:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725945213; x=1757481213; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SuuZllRm35ADvfaTLAuyMG97Is+OLQc+Q2WWo5c4Rp0=; b=hK/FBEfP0Ue+9cdE7h2cKJQg0Tx8d9J2dBfpmrVpeeaFTuuCltRoj4ij VwKysjPJfDl8imjcyaaaWuanbKtqvqYfsdDkPtM5se6Ei+Dzu4KD2lieA NITe9UJrrbmEB558Xsb4dqAZUti2/HtzrmAxqaRgyYtoCSxhyITRX8ynn r9hKyQhpzfNYVlENunwn0s8ATdHu028VRdqhkgTpqCzwydMRt0qC1l7WC SxZ4uV3mmsExbbaIe2Nvret1dx/7xKfoszaYGykb39GXqL2sSMpegSUTs LAIB8xhTJJWjKbKWSnzZMU5F2V309MpRDLXFPBJ9PNYwYIZaQgQtON1Sk Q==; X-CSE-ConnectionGUID: JzMNTf2XRHWrESivlWPqRw== X-CSE-MsgGUID: 8aAHSTNWS7K41nJdntjBpA== X-IronPort-AV: E=McAfee;i="6700,10204,11190"; a="24814211" X-IronPort-AV: E=Sophos;i="6.10,216,1719903600"; d="scan'208";a="24814211" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2024 22:13:32 -0700 X-CSE-ConnectionGUID: tHw762XeQ7qFiwBUe0zozA== X-CSE-MsgGUID: R0NOdDYlSSy3Go/mTses5w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,216,1719903600"; d="scan'208";a="66924553" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 09 Sep 2024 22:13:29 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1sntBu-00006B-2k; Tue, 10 Sep 2024 05:13:26 +0000 Date: Tue, 10 Sep 2024 13:12:27 +0800 From: kernel test robot To: Cindy Lu , jasowang@redhat.com, mst@redhat.com, michael.christie@oracle.com, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [RESEND PATCH v1 1/7] vhost: Add a new module_param for enable kthread Message-ID: <202409101256.eWKWH1mw-lkp@intel.com> References: <20240909020138.1245873-2-lulu@redhat.com> Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240909020138.1245873-2-lulu@redhat.com> Hi Cindy, kernel test robot noticed the following build warnings: [auto build test WARNING on mst-vhost/linux-next] [also build test WARNING on linus/master v6.11-rc7 next-20240909] [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/Cindy-Lu/vhost-Add-kthread-support-in-function-vhost_worker_queue/20240909-110046 base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next patch link: https://lore.kernel.org/r/20240909020138.1245873-2-lulu%40redhat.com patch subject: [RESEND PATCH v1 1/7] vhost: Add a new module_param for enable kthread config: x86_64-randconfig-123-20240910 (https://download.01.org/0day-ci/archive/20240910/202409101256.eWKWH1mw-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240910/202409101256.eWKWH1mw-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/202409101256.eWKWH1mw-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/vhost/vhost.c:44:6: sparse: sparse: symbol 'enforce_kthread' was not declared. Should it be static? drivers/vhost/vhost.c:1898:54: sparse: sparse: self-comparison always evaluates to false drivers/vhost/vhost.c:1899:54: sparse: sparse: self-comparison always evaluates to false drivers/vhost/vhost.c:1900:55: sparse: sparse: self-comparison always evaluates to false drivers/vhost/vhost.c:2155:46: sparse: sparse: self-comparison always evaluates to false drivers/vhost/vhost.c:2235:48: sparse: sparse: self-comparison always evaluates to false vim +/enforce_kthread +44 drivers/vhost/vhost.c 35 36 static ushort max_mem_regions = 64; 37 module_param(max_mem_regions, ushort, 0444); 38 MODULE_PARM_DESC(max_mem_regions, 39 "Maximum number of memory regions in memory map. (default: 64)"); 40 static int max_iotlb_entries = 2048; 41 module_param(max_iotlb_entries, int, 0444); 42 MODULE_PARM_DESC(max_iotlb_entries, 43 "Maximum number of iotlb entries. (default: 2048)"); > 44 bool enforce_kthread = true; 45 module_param(enforce_kthread, bool, 0444); 46 MODULE_PARM_DESC(enforce_kthread, "enable vhost to use kthread (default: Y)"); 47 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki