From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 03FD119B3E1 for ; Thu, 20 Jun 2024 14:41:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718894480; cv=none; b=iOrvWdDdVCGq5V5p1+myrHrzmoFVsAhR4So3vJdWJEycS6yDrWJ6WIJfpt/Zi5+ckVMHXF1BgiOtMQ7YH9ctwqVZZA6QN4/4xWwudfFMZwzCTw9buonspadko6wrhb0gfG7Mi2xHbB4gtfdbf/aVI9lD8JUBufgxZmkZe2XxXyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718894480; c=relaxed/simple; bh=5ScJcEVT9hBda7ysTACD45tqpz9ZSLw8J/lH+rGCEh0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fhc9VBcrvigN07F0du8ok6wQw1S2SIpcxrayj+vhhcaFBFTWHuRifuZ6Kcnv1K4kJtd9vueuGMY1QR17mN5Uuk5/lfsQHTg7Z9tkZDnU7u5OPhT6Rnef5eCHXmyFuzjLk+xKzN8XYDBm7knhabVca85vn06tXCvyCbtBksu2N1U= 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=iwwT/lPb; arc=none smtp.client-ip=192.198.163.8 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="iwwT/lPb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718894479; x=1750430479; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5ScJcEVT9hBda7ysTACD45tqpz9ZSLw8J/lH+rGCEh0=; b=iwwT/lPb1ysTk0Ke0c0DEcVzcoQcLJHMD5Sd4XRJsBf+vusxV7dZ5cj/ qJIpH4ZAhEfLlFPpCDAHpS0u4g9xoFWGhwrJs6/kTObmlqATwehQVLBVk hJ5nCnMiDRkwmhTLXG5+XOhHhF1wDxFHrc2WjA/u6+j8J23bUJVcAP7TH SC9YqFsNLGWPmvfjeNjpSKehlkhKhYTGjhkAr907gmpKKBhkUi67NehaI pkhZSFno9XwA8gWCBXvoHSSEfysDJavkY/yetSY7FehgLOqyZlVW7aNvO BkDuf3NorYaMdEBKC5rf70Hj/zGK9mfKEXnLttpUpMS44GRLO94GbXHYW Q==; X-CSE-ConnectionGUID: Q1NjdCMrStSWS6Q/pZawSQ== X-CSE-MsgGUID: g6NdmGz7RnW0ykagx40q4Q== X-IronPort-AV: E=McAfee;i="6700,10204,11108"; a="33415606" X-IronPort-AV: E=Sophos;i="6.08,252,1712646000"; d="scan'208";a="33415606" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2024 07:41:09 -0700 X-CSE-ConnectionGUID: F04vPV/tToidaLxiCN1z4w== X-CSE-MsgGUID: bTefi67oRq2jOEwZb0FxVQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,252,1712646000"; d="scan'208";a="73000408" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 20 Jun 2024 07:41:07 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sKIyG-0007gK-2k; Thu, 20 Jun 2024 14:41:04 +0000 Date: Thu, 20 Jun 2024 22:40:28 +0800 From: kernel test robot To: Aryan Srivastava , Andrew Lunn , Marek =?iso-8859-1?Q?Beh=FAn?= Cc: oe-kbuild-all@lists.linux.dev, Aryan Srivastava , Florian Fainelli , Vladimir Oltean , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] net: dsa: mv88e6xxx: Add FID map cache Message-ID: <202406202033.cdjd66Gh-lkp@intel.com> References: <20240620002826.213013-1-aryan.srivastava@alliedtelesis.co.nz> Precedence: bulk X-Mailing-List: oe-kbuild-all@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: <20240620002826.213013-1-aryan.srivastava@alliedtelesis.co.nz> Hi Aryan, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] [also build test WARNING on net/main linus/master v6.10-rc4 next-20240619] [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/Aryan-Srivastava/net-dsa-mv88e6xxx-Add-FID-map-cache/20240620-083100 base: net-next/main patch link: https://lore.kernel.org/r/20240620002826.213013-1-aryan.srivastava%40alliedtelesis.co.nz patch subject: [PATCH v1] net: dsa: mv88e6xxx: Add FID map cache config: arm-randconfig-003-20240620 (https://download.01.org/0day-ci/archive/20240620/202406202033.cdjd66Gh-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406202033.cdjd66Gh-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/202406202033.cdjd66Gh-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/dsa/mv88e6xxx/chip.c: In function 'mv88e6xxx_atu_new': >> drivers/net/dsa/mv88e6xxx/chip.c:1960:13: warning: unused variable 'err' [-Wunused-variable] 1960 | int err; | ^~~ vim +/err +1960 drivers/net/dsa/mv88e6xxx/chip.c 1957 1958 static int mv88e6xxx_atu_new(struct mv88e6xxx_chip *chip, u16 *fid) 1959 { > 1960 int err; 1961 1962 *fid = find_first_zero_bit(chip->fid_bitmap, MV88E6XXX_N_FID); 1963 if (unlikely(*fid >= mv88e6xxx_num_databases(chip))) 1964 return -ENOSPC; 1965 1966 /* Clear the database */ 1967 return mv88e6xxx_g1_atu_flush(chip, *fid, true); 1968 } 1969 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki