Skip to contentSkip to conversation

habanalabs: increase length of ASIC name

PATCH In review Oded Gabbay 2 participants 2 messages Aug 3, 2020 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 habanalabs: increase length of ASIC name

Future ASIC names are longer than 15 chars so increase the variable length to 32 chars.

---
 drivers/misc/habanalabs/common/habanalabs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/habanalabs/common/habanalabs.h +1 -1
index 942f7e52f1a2..8b5b4afe42c7 100644
@@ -1524,7 +1524,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;
Signature · 1 line
2.17.1