Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp82438rdb; Mon, 4 Dec 2023 21:54:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTejXMUqZ7wArOthHM/4GR7fBhdw3jWGbelxim0Eidl5GsfpsIf5VODLR8c1Zp6IvydSvB X-Received: by 2002:a05:6a21:1a8:b0:18b:30d1:fcab with SMTP id le40-20020a056a2101a800b0018b30d1fcabmr2476202pzb.59.1701755648326; Mon, 04 Dec 2023 21:54:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701755648; cv=none; d=google.com; s=arc-20160816; b=qLyRyIpC7wVza2exb/XdgI8hvotdeAxdo9AYdUrwuVT8e+wSrog9hQsIU8/anC3vKG +5j/butm+1DF917o+irSfPSTisl7LMxQoO8P3U721USXs4mrtZxlBspTtDfdBjPjlHDo m10BdoYCrbR5xuSB2y/HQqlDuSMSbzImTQHE0tr3gGcaLSWFvev+nROB5vAKOu57ji4L hEzBQjvJsGPcmYUb3JoEpfRv9+t62GJVeroHi54FJcFH40TPpwQlzI5ClpnZUzxNYR+/ YuGKi6gK5b7wqG/jEd5uymRxSXRZLSaGyGoMD5N8XLi8on5lMuIt81GqekBuw2gXuLF9 hywA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4KrQefYuXS8lE+ePqmN/o+WtxUAoIumUk28JyM9qL9U=; fh=a0WHpT/XwC4cQIoPJDTdnXn0MaLVryNwfrs475MQpUQ=; b=lps4VENvfwvqBmcclGdRLib+ezavLbXx0UaWW8eZ8OA62M+nn5XGcYDiFdZHUF3ZXx OAEfWfXdD4Znm/Cq4onaOvd7MzvpMAKcC9VoBiDNaxgJ5CsS1mtPjDh4iooTDhDGqeRX lgFtiyUuUHgCN0gafjvQGGRgbkFywPhz424m7aCMJcUjqSAhMWQ5R6zWG5c2EVHCZpmn Y/+EHBbhn0YwPHC1tW8GQuJhwaljRG/WYOMEcPvkeg+uD3fILK+sijEWXdDB6syRB2uX Kwfg2ds5vBUqYjaleURSEbv+VB96506wnnO7hGEox2BnykLpdwq4SRqMRgGnT7zz+yP9 G1Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=azAj7eL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l10-20020a170903120a00b001d09ffdfe1fsi3112314plh.171.2023.12.04.21.54.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 21:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=azAj7eL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C1777802170F; Mon, 4 Dec 2023 21:54:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344272AbjLEFxd (ORCPT + 99 others); Tue, 5 Dec 2023 00:53:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344266AbjLEFxc (ORCPT ); Tue, 5 Dec 2023 00:53:32 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57BE8AA; Mon, 4 Dec 2023 21:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701755619; x=1733291619; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=bFFeeF8hJ3DxE50au0V2o4iCp73fC+lbzXYWg5k/A/o=; b=azAj7eL1U16j4HcCYOXpiTtrsJDi5jsAjhd4CXRGeMvER9FQISvS0raS GSeP3vgeox4W2Txfvgbm6Ypu4osD+pwu/3PAZfy0tqyV6Dfeo/8niKHnO 7cyj0siOEefqYQKg/uS36JLWD9mKlWgQocyUXCNFhGO9NqDyWwbks/Vky uzex9G8SMTyTjIdCc9S61G4qCidN5fDfOsUCEjxpTUfpu8biHMsm8ELL7 A3D5u7hj7ctdAaH25T+iKXbrHshDSK5Sof28MKLbccTcHw507hNJ2B+k4 G8uvYXiIT53a/8Vp7T7/9rvxHC1Omj9wJHG6tu8nGLz3n2BLhljxTobHG Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="425008173" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="425008173" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 21:53:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="841329822" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="841329822" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 04 Dec 2023 21:53:35 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAONA-0008PG-1l; Tue, 05 Dec 2023 05:53:32 +0000 Date: Tue, 5 Dec 2023 13:53:09 +0800 From: kernel test robot To: Sneh Shah , Vinod Koul , Bhupesh Sharma , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, Sneh Shah , kernel@quicinc.com, Andrew Halaney Subject: Re: [PATCH net-next] net: stmmac: qcom-ethqos: Add sysfs nodes for qcom ethqos Message-ID: <202312051347.L3L2pNLv-lkp@intel.com> References: <20231204084854.31543-1-quic_snehshah@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204084854.31543-1-quic_snehshah@quicinc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 04 Dec 2023 21:54:05 -0800 (PST) Hi Sneh, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Sneh-Shah/net-stmmac-qcom-ethqos-Add-sysfs-nodes-for-qcom-ethqos/20231204-165232 base: net-next/main patch link: https://lore.kernel.org/r/20231204084854.31543-1-quic_snehshah%40quicinc.com patch subject: [PATCH net-next] net: stmmac: qcom-ethqos: Add sysfs nodes for qcom ethqos config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231205/202312051347.L3L2pNLv-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312051347.L3L2pNLv-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/202312051347.L3L2pNLv-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c: In function 'gvm_queue_mapping_store': >> drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c:770:13: warning: variable 'prio' set but not used [-Wunused-but-set-variable] 770 | u32 prio; | ^~~~ vim +/prio +770 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c 762 763 static ssize_t gvm_queue_mapping_store(struct device *dev, 764 struct device_attribute *attr, 765 const char *user_buf, size_t size) 766 { 767 struct net_device *netdev = to_net_dev(dev); 768 struct stmmac_priv *priv; 769 struct qcom_ethqos *ethqos; > 770 u32 prio; 771 s8 input = 0; 772 773 if (!netdev) { 774 pr_err("netdev is NULL\n"); 775 return -EINVAL; 776 } 777 778 priv = netdev_priv(netdev); 779 if (!priv) { 780 pr_err("priv is NULL\n"); 781 return -EINVAL; 782 } 783 784 ethqos = priv->plat->bsp_priv; 785 if (!ethqos) { 786 pr_err("ethqos is NULL\n"); 787 return -EINVAL; 788 } 789 790 if (kstrtos8(user_buf, 0, &input)) { 791 pr_err("Error in reading option from user\n"); 792 return -EINVAL; 793 } 794 795 if (input == ethqos->gvm_queue) 796 pr_err("No effect as duplicate input\n"); 797 798 ethqos->gvm_queue = input; 799 prio = 1 << input; 800 801 return size; 802 } 803 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki