* [ti:ti-rt-linux-6.1.y-cicd 41/69] drivers/net/ethernet/ti/icssg_prueth.c:680:5: warning: no previous prototype for function 'prueth_tx_ts_cookie_get'
@ 2023-11-06 5:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-06 5:27 UTC (permalink / raw)
Cc: oe-kbuild-all, vigneshr, nm, MD Danish Anwar
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-6.1.y-cicd
head: 765670365233dc7ad139e5e96c437d333ae94543
commit: 4536a8709a68251b9676cbb4fdf54a01d764e76e [41/69] net: ti: icssg_prueth: Support multiple TX timestamp requests
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20231106/202311061330.pQJEYjYA-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311061330.pQJEYjYA-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/202311061330.pQJEYjYA-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/ti/icssg_prueth.c:680:5: warning: no previous prototype for function 'prueth_tx_ts_cookie_get' [-Wmissing-prototypes]
680 | int prueth_tx_ts_cookie_get(struct prueth_emac *emac)
| ^
drivers/net/ethernet/ti/icssg_prueth.c:680:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
680 | int prueth_tx_ts_cookie_get(struct prueth_emac *emac)
| ^
| static
1 warning generated.
vim +/prueth_tx_ts_cookie_get +680 drivers/net/ethernet/ti/icssg_prueth.c
679
> 680 int prueth_tx_ts_cookie_get(struct prueth_emac *emac)
681 {
682 int i;
683
684 /* search and get the next free slot */
685 for (i = 0; i < PRUETH_MAX_TX_TS_REQUESTS; i++) {
686 if (!emac->tx_ts_skb[i]) {
687 emac->tx_ts_skb[i] = ERR_PTR(-EBUSY); /* reserve slot */
688 return i;
689 }
690 }
691
692 return -EBUSY;
693 }
694
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-06 5:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 5:27 [ti:ti-rt-linux-6.1.y-cicd 41/69] drivers/net/ethernet/ti/icssg_prueth.c:680:5: warning: no previous prototype for function 'prueth_tx_ts_cookie_get' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.