From: kernel test robot <lkp@intel.com>
To: Romain Gantois <romain.gantois@bootlin.com>,
davem@davemloft.net, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
Romain Gantois <romain.gantois@bootlin.com>,
Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com,
Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
linux-arm-kernel@lists.infradead.org,
Vladimir Oltean <vladimir.oltean@nxp.com>,
Luka Perkov <luka.perkov@sartura.hr>,
Robert Marko <robert.marko@sartura.hr>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@somainline.org>,
Maxime Chevallier <maxime.chevallier@bootlin.com>
Subject: Re: [PATCH net-next 3/5] net: ipqess: introduce the Qualcomm IPQESS driver
Date: Tue, 24 Oct 2023 23:55:30 +0800 [thread overview]
Message-ID: <202310242300.y8Z3ImgQ-lkp@intel.com> (raw)
In-Reply-To: <20231023155013.512999-4-romain.gantois@bootlin.com>
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 <lkp@intel.com>
| 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
next prev parent reply other threads:[~2023-10-24 15:56 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-23 15:50 [PATCH net-next 0/5] net: ipqess: introduce " Romain Gantois
2023-10-23 15:50 ` [PATCH net-next 1/5] net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet switch Romain Gantois
2023-10-23 17:37 ` Krzysztof Kozlowski
2023-10-24 8:01 ` Romain Gantois
2023-10-23 17:40 ` Rob Herring
2023-10-24 9:54 ` Romain Gantois
2023-10-24 9:56 ` Krzysztof Kozlowski
2023-10-24 10:05 ` Romain Gantois
2023-10-24 10:54 ` Krzysztof Kozlowski
2023-10-24 12:13 ` Romain Gantois
2023-10-23 15:50 ` [PATCH net-next 2/5] net: dsa: qca: Make the QCA8K hardware library available globally Romain Gantois
2023-10-23 16:40 ` Andrew Lunn
2023-10-23 15:50 ` [PATCH net-next 3/5] net: ipqess: introduce the Qualcomm IPQESS driver Romain Gantois
2023-10-23 17:50 ` Andrew Lunn
2023-10-24 9:16 ` Romain Gantois
2023-10-24 14:08 ` Andrew Lunn
2023-10-24 16:23 ` Robert Marko
2023-10-24 16:48 ` Andrew Lunn
2023-10-24 11:44 ` Wojciech Drewek
2023-10-24 15:55 ` kernel test robot [this message]
2023-10-23 15:50 ` [PATCH net-next 4/5] net: ipqess: add a PSGMII calibration procedure to the " Romain Gantois
2023-10-23 18:01 ` Andrew Lunn
2023-10-24 9:03 ` Romain Gantois
2023-10-24 14:13 ` Andrew Lunn
2023-10-24 16:49 ` Robert Marko
2023-10-23 15:50 ` [PATCH net-next 5/5] dts: qcom: ipq4019: Add description for the IPQ4019 ESS EDMA and switch Romain Gantois
2023-10-23 17:39 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202310242300.y8Z3ImgQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=konrad.dybcio@somainline.org \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=luka.perkov@sartura.hr \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=robert.marko@sartura.hr \
--cc=robh+dt@kernel.org \
--cc=romain.gantois@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=vladimir.oltean@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome