From: kernel test robot <lkp@intel.com>
To: Justin Lai <justinlai0215@realtek.com>, kuba@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, davem@davemloft.net,
edumazet@google.com, pabeni@redhat.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
andrew@lunn.ch, pkshih@realtek.com, larry.chiu@realtek.com,
Justin Lai <justinlai0215@realtek.com>
Subject: Re: [PATCH net-next v8 12/13] net:ethernet:realtek: Update the Makefile and Kconfig in the realtek folder
Date: Wed, 27 Sep 2023 04:23:31 +0800 [thread overview]
Message-ID: <202309270412.RCn7zweU-lkp@intel.com> (raw)
In-Reply-To: <20230926114943.16340-13-justinlai0215@realtek.com>
Hi Justin,
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/Justin-Lai/net-ethernet-realtek-rtase-Add-pci-table-supported-in-this-module/20230926-195218
base: net-next/main
patch link: https://lore.kernel.org/r/20230926114943.16340-13-justinlai0215%40realtek.com
patch subject: [PATCH net-next v8 12/13] net:ethernet:realtek: Update the Makefile and Kconfig in the realtek folder
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230927/202309270412.RCn7zweU-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/20230927/202309270412.RCn7zweU-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/202309270412.RCn7zweU-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/realtek/rtase/rtase_main.c:234:6: warning: no previous prototype for 'rtase_tx_clear' [-Wmissing-prototypes]
234 | void rtase_tx_clear(struct rtase_private *tp)
| ^~~~~~~~~~~~~~
>> drivers/net/ethernet/realtek/rtase/rtase_main.c:636:6: warning: no previous prototype for 'rtase_rx_clear' [-Wmissing-prototypes]
636 | void rtase_rx_clear(struct rtase_private *tp)
| ^~~~~~~~~~~~~~
>> drivers/net/ethernet/realtek/rtase/rtase_main.c:776:6: warning: no previous prototype for 'rtase_hw_set_rx_packet_filter' [-Wmissing-prototypes]
776 | void rtase_hw_set_rx_packet_filter(struct net_device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/realtek/rtase/rtase_main.c:879:6: warning: no previous prototype for 'rtase_hw_reset' [-Wmissing-prototypes]
879 | void rtase_hw_reset(const struct net_device *dev)
| ^~~~~~~~~~~~~~
>> drivers/net/ethernet/realtek/rtase/rtase_main.c:1027:6: warning: no previous prototype for 'rtase_hw_start' [-Wmissing-prototypes]
1027 | void rtase_hw_start(const struct net_device *dev)
| ^~~~~~~~~~~~~~
drivers/net/ethernet/realtek/rtase/rtase_main.c: In function 'rtase_open':
>> drivers/net/ethernet/realtek/rtase/rtase_main.c:1140:25: warning: 'sprintf' argument 3 may overlap destination object 'dev' [-Wrestrict]
1140 | sprintf((char *)&ivec->name, "%s_int%i", dev->name, i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/realtek/rtase/rtase_main.c:1105:42: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
1105 | static int rtase_open(struct net_device *dev)
| ~~~~~~~~~~~~~~~~~~~^~~
vim +/rtase_tx_clear +234 drivers/net/ethernet/realtek/rtase/rtase_main.c
9a15ffa44557f94 Justin Lai 2023-09-26 233
9a15ffa44557f94 Justin Lai 2023-09-26 @234 void rtase_tx_clear(struct rtase_private *tp)
9a15ffa44557f94 Justin Lai 2023-09-26 235 {
9a15ffa44557f94 Justin Lai 2023-09-26 236 struct rtase_ring *ring;
9a15ffa44557f94 Justin Lai 2023-09-26 237 u16 i;
9a15ffa44557f94 Justin Lai 2023-09-26 238
9a15ffa44557f94 Justin Lai 2023-09-26 239 for (i = 0; i < tp->func_tx_queue_num; i++) {
9a15ffa44557f94 Justin Lai 2023-09-26 240 ring = &tp->tx_ring[i];
9a15ffa44557f94 Justin Lai 2023-09-26 241 rtase_tx_clear_range(ring, ring->dirty_idx, NUM_DESC);
9a15ffa44557f94 Justin Lai 2023-09-26 242 ring->cur_idx = 0;
9a15ffa44557f94 Justin Lai 2023-09-26 243 ring->dirty_idx = 0;
9a15ffa44557f94 Justin Lai 2023-09-26 244 }
9a15ffa44557f94 Justin Lai 2023-09-26 245 }
9a15ffa44557f94 Justin Lai 2023-09-26 246
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-09-26 20:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 11:49 [PATCH net-next v8 00/13] Add Realtek automotive PCIe driver Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 01/13] net:ethernet:realtek:rtase: Add pci table supported in this module Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 02/13] net:ethernet:realtek:rtase: Implement the .ndo_open function Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 03/13] net:ethernet:realtek:rtase: Implement the rtase_down function Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 04/13] net:ethernet:realtek:rtase: Implement the interrupt routine and rtase_poll Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 05/13] net:ethernet:realtek:rtase: Implement hardware configuration function Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 06/13] net:ethernet:realtek:rtase: Implement .ndo_start_xmit function Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 07/13] net:ethernet:realtek:rtase: Implement a function to receive packets Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 08/13] net:ethernet:realtek:rtase: Implement net_device_ops Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 09/13] net:ethernet:realtek:rtase: Implement pci_driver suspend and resume function Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 10/13] net:ethernet:realtek:rtase: Implement ethtool function Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 11/13] net:ethernet:realtek:rtase: Add a Makefile in the rtase folder Justin Lai
2023-09-26 11:49 ` [PATCH net-next v8 12/13] net:ethernet:realtek: Update the Makefile and Kconfig in the realtek folder Justin Lai
2023-09-26 20:23 ` kernel test robot [this message]
2023-09-26 11:49 ` [PATCH net-next v8 13/13] MAINTAINERS: Add the rtase ethernet driver entry Justin Lai
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=202309270412.RCn7zweU-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=justinlai0215@realtek.com \
--cc=kuba@kernel.org \
--cc=larry.chiu@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=pkshih@realtek.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