Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1984447rda; Tue, 24 Oct 2023 08:56:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXXe3WjloUEHLLZ8VbXi+u/PRzdCCV0h57405gos6dS2AdRGxylXDqZXsJsDHKFmCI01rZ X-Received: by 2002:a05:6a21:3e14:b0:17e:70fa:3f3c with SMTP id bk20-20020a056a213e1400b0017e70fa3f3cmr3049706pzc.57.1698163001174; Tue, 24 Oct 2023 08:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698163001; cv=none; d=google.com; s=arc-20160816; b=QGOmddKhuBBYCLEFAYUMDr0ABDAms42HaEyWaPT5WX/iealR6KKwTWrs+XqTv92VBW odUEMrm45x0rtJ5xn7NuyZBg5oK8NBWePr6QrI/JZrnBfjULvHVsBJ3N1tX6N2n/fqeF y9nNHCBL/HhWzGCdYNXKibQw97UMxo8OyERk4/c/MUmglGxVD66gG8l845F0rC1LV41s g5SMOFy4gc77EbLdVzmzI/pV5THRr//ldR4Y6ya+xhtx1fN46hXCJveVEpEoy3/cxSK3 vhnQTFSX2XecjiXGhzaZKiSYYXb+TYfXrJ9zKikhF1GLUEn3C3kJGRcPZCQdMrLcmklu SU8Q== 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=HrXh7EoEQjmcJRt0Wkm+4Y3qxdSSx+EtD5khucjLwtM=; fh=oR9cR29n4qOcqXewEeegESbv456unf7pbprPjqGBrfE=; b=p5nOrR7uaMKVpLyh3+PSHWGvarLSfO+8YiSzFWLFP+gVcy7clwGds+OEBTFFaL/qyM Ohsv2gppQcwr0bQljthtSdR5LvsD2DVPDHxyhEAUsKWtxpmewYM44NRPK9tEdj9WAo3Z Cp0OLN7IUA/K6jX7zP0LtyAdZvgnrwFPoVOLICYBoWKOhyUza910lVPHAyaJUNGihbPk jyoddISB/n0++oiRlZPB6Ka3Y6AEE6SuQoF/YhfacKvwmFukwOuO7zPtTDkxrLIhdhhn s4GX1r/USaBlTv6msfuGrGU2DmNC+g3HnAP0a806LLkYmY62UgyTNEMlMAi65QBHzR3G KSRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=koeL6VnG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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. [23.128.96.31]) by mx.google.com with ESMTPS id u13-20020a056a00124d00b0068e256c6366si8843191pfi.352.2023.10.24.08.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 08:56:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=koeL6VnG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 7F472802B28F; Tue, 24 Oct 2023 08:56:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343958AbjJXP4U (ORCPT + 99 others); Tue, 24 Oct 2023 11:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343952AbjJXP4P (ORCPT ); Tue, 24 Oct 2023 11:56:15 -0400 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A91FE83; Tue, 24 Oct 2023 08:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698162974; x=1729698974; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SddTswXNy85QoKJZdafbQk9nSfChueXqS/eU+G7CMYg=; b=koeL6VnGVGJKMm0OZoKUANAQAtyXmNPmeVBL333MTn7PKsKdezKzflx6 PffPi4bDwB/pV3+9SlP/LlDdTxBdS9+hHIld92T37DDTv1WOAKOElxcVO Nc+IvFHWx1xknjlumgNufiFkY0I/Nakl4/TW2RS/kDw3weY1t1Ddq1f8i aV1bZ0zLIROX+kSHF7Az3+gnIEBM6TuJizN8ahYQ/o/GktRwpmoZGWSOx rzRJ8cFfN3yaFTZZTZGgsS815HD1b+k3+QSlY0kQkM35LtuqaaqeXQgWJ kMdeBAH4ZpyeCd3r5i8dJUTXo7es/j6G4pQyS/oF2sQMR831RQbDBZiVH Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="5719680" X-IronPort-AV: E=Sophos;i="6.03,248,1694761200"; d="scan'208";a="5719680" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 08:56:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="758510350" X-IronPort-AV: E=Sophos;i="6.03,248,1694761200"; d="scan'208";a="758510350" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 24 Oct 2023 08:56:07 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qvJlF-0007yD-1U; Tue, 24 Oct 2023 15:56:05 +0000 Date: Tue, 24 Oct 2023 23:55:30 +0800 From: kernel test robot To: Romain Gantois , davem@davemloft.net, Rob Herring , Krzysztof Kozlowski Cc: oe-kbuild-all@lists.linux.dev, Romain Gantois , Jakub Kicinski , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko , Andy Gross , Bjorn Andersson , Konrad Dybcio , Maxime Chevallier Subject: Re: [PATCH net-next 3/5] net: ipqess: introduce the Qualcomm IPQESS driver Message-ID: <202310242300.y8Z3ImgQ-lkp@intel.com> References: <20231023155013.512999-4-romain.gantois@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231023155013.512999-4-romain.gantois@bootlin.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 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]); Tue, 24 Oct 2023 08:56:38 -0700 (PDT) Hi Romain, 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/Romain-Gantois/net-dt-bindings-Introduce-the-Qualcomm-IPQESS-Ethernet-switch/20231023-235323 base: net-next/main patch link: https://lore.kernel.org/r/20231023155013.512999-4-romain.gantois%40bootlin.com patch subject: [PATCH net-next 3/5] net: ipqess: introduce the Qualcomm IPQESS driver config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20231024/202310242300.y8Z3ImgQ-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231024/202310242300.y8Z3ImgQ-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/202310242300.y8Z3ImgQ-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/ethernet/qualcomm/ipqess/ipqess_edma.c: In function 'ipqess_edma_rx_buf_prepare': >> drivers/net/ethernet/qualcomm/ipqess/ipqess_edma.c:156:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 156 | (struct ipqess_edma_rx_desc *)buf->dma; | ^ vim +156 drivers/net/ethernet/qualcomm/ipqess/ipqess_edma.c 139 140 static int ipqess_edma_rx_buf_prepare(struct ipqess_edma_buf *buf, 141 struct ipqess_edma_rx_ring *rx_ring) 142 { 143 memset(buf->skb->data, 0, sizeof(struct ipqess_edma_rx_desc)); 144 145 buf->dma = dma_map_single(rx_ring->ppdev, buf->skb->data, 146 IPQESS_EDMA_RX_HEAD_BUFF_SIZE, 147 DMA_FROM_DEVICE); 148 if (dma_mapping_error(rx_ring->ppdev, buf->dma)) { 149 dev_kfree_skb_any(buf->skb); 150 buf->skb = NULL; 151 return -EFAULT; 152 } 153 154 buf->length = IPQESS_EDMA_RX_HEAD_BUFF_SIZE; 155 rx_ring->hw_desc[rx_ring->head] = > 156 (struct ipqess_edma_rx_desc *)buf->dma; 157 rx_ring->head = (rx_ring->head + 1) % IPQESS_EDMA_RX_RING_SIZE; 158 159 ipqess_edma_m32(rx_ring->edma, IPQESS_EDMA_RFD_PROD_IDX_BITS, 160 (rx_ring->head + IPQESS_EDMA_RX_RING_SIZE - 1) 161 % IPQESS_EDMA_RX_RING_SIZE, 162 IPQESS_EDMA_REG_RFD_IDX_Q(rx_ring->idx)); 163 164 return 0; 165 } 166 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki