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:
8fd0e2a
)
habanalabs: increase length of ASIC name
author
Oded Gabbay
<oded.gabbay@gmail.com>
Sun, 2 Aug 2020 08:49:09 +0000
(11:49 +0300)
committer
Oded Gabbay
<oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:48 +0000
(18:49 +0300)
Future ASIC names are longer than 15 chars so increase the variable length
to 32 chars.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
drivers/misc/habanalabs/common/habanalabs.h
patch
|
blob
|
history
diff --git
a/drivers/misc/habanalabs/common/habanalabs.h
b/drivers/misc/habanalabs/common/habanalabs.h
index
edbd627
..
278c45a
100644
(file)
--- a/
drivers/misc/habanalabs/common/habanalabs.h
+++ b/
drivers/misc/habanalabs/common/habanalabs.h
@@
-1513,7
+1513,7
@@
struct hl_device {
struct device *dev_ctrl;
struct delayed_work work_freq;
struct delayed_work work_heartbeat;
- char asic_name[
16
];
+ char asic_name[
32
];
enum hl_asic_type asic_type;
struct hl_cq *completion_queue;
struct workqueue_struct **cq_wq;