* drivers/misc/habanalabs/common/irq.c:50:12: warning: no previous declaration for 'hl_eq_inc_ptr'
@ 2021-02-14 11:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-14 11:14 UTC (permalink / raw)
To: Oded Gabbay; +Cc: kbuild-all, linux-kernel, Omer Shpigelman
[-- Attachment #1: Type: text/plain, Size: 3092 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ac30d8ce28d61c05ac3a8b1452e889371136f3af
commit: 70b2f993ea4a79c298aac4ec1c58089020536ba5 habanalabs: create common folder
date: 7 months ago
config: i386-randconfig-a014-20200624 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=70b2f993ea4a79c298aac4ec1c58089020536ba5
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 70b2f993ea4a79c298aac4ec1c58089020536ba5
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/misc/habanalabs/common/irq.c:50:12: warning: no previous declaration for 'hl_eq_inc_ptr' [-Wmissing-declarations]
inline u32 hl_eq_inc_ptr(u32 ptr)
^
vim +/hl_eq_inc_ptr +50 drivers/misc/habanalabs/common/irq.c
9494a8dd8d22cb drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 41
3db99f000b76bb drivers/misc/habanalabs/irq.c Lee Jones 2020-07-01 42 /**
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 43 * hl_eq_inc_ptr - increment ci of eq
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 44 *
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 45 * @ptr: the current ci value of the event queue
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 46 *
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 47 * Increment ptr by 1. If it reaches the number of event queue
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 48 * entries, set it to 0
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 49 */
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 @50 inline u32 hl_eq_inc_ptr(u32 ptr)
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 51 {
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 52 ptr++;
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 53 if (unlikely(ptr == HL_EQ_LENGTH))
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 54 ptr = 0;
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 55 return ptr;
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 56 }
1251f23ae8583b drivers/misc/habanalabs/irq.c Oded Gabbay 2019-02-16 57
:::::: The code at line 50 was first introduced by commit
:::::: 1251f23ae8583b1bb99c3db07102f4c9cc3160fe habanalabs: add event queue and interrupts
:::::: TO: Oded Gabbay <oded.gabbay@gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36587 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-14 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14 11:14 drivers/misc/habanalabs/common/irq.c:50:12: warning: no previous declaration for 'hl_eq_inc_ptr' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®