Skip to content

Commit 16db6b5

Browse files
ogabbaygregkh
authored andcommitted
habanalabs: mark hl_eq_inc_ptr() as static
hl_eq_inc_ptr() is not called from anywhere outside irq.c so mark it as static Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
1 parent a38fd87 commit 16db6b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/misc/habanalabs/common

drivers/misc/habanalabs/common/irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ inline u32 hl_cq_inc_ptr(u32 ptr)
4747
* Increment ptr by 1. If it reaches the number of event queue
4848
* entries, set it to 0
4949
*/
50-
inline u32 hl_eq_inc_ptr(u32 ptr)
50+
static inline u32 hl_eq_inc_ptr(u32 ptr)
5151
{
5252
ptr++;
5353
if (unlikely(ptr == HL_EQ_LENGTH))

0 commit comments

Comments
 (0)