projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4516fed
)
accel/habanalabs: make gaudi2_is_device_idle() static
author
Oded Gabbay
<ogabbay@kernel.org>
Wed, 8 Mar 2023 12:57:32 +0000
(14:57 +0200)
committer
Oded Gabbay
<ogabbay@kernel.org>
Mon, 20 Mar 2023 15:31:02 +0000
(17:31 +0200)
This function is only called inside gaudi2.c file.
Reported-by: kernel test robot <lkp@intel.com>
Link:
https://lore.kernel.org/oe-kbuild-all/202303071320.X5ouBlNY-lkp@intel.com/
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
drivers/accel/habanalabs/gaudi2/gaudi2.c
patch
|
blob
|
history
diff --git
a/drivers/accel/habanalabs/gaudi2/gaudi2.c
b/drivers/accel/habanalabs/gaudi2/gaudi2.c
index
4360553
..
8943dc9
100644
(file)
--- a/
drivers/accel/habanalabs/gaudi2/gaudi2.c
+++ b/
drivers/accel/habanalabs/gaudi2/gaudi2.c
@@
-7276,7
+7276,7
@@
static bool gaudi2_get_rotator_idle_status(struct hl_device *hdev, u64 *mask_arr
return is_idle;
}
-bool gaudi2_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len,
+
static
bool gaudi2_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len,
struct engines_data *e)
{
bool is_idle = true;