* [PATCH] habanalabs: increase length of ASIC name
@ 2020-08-03 11:51 Oded Gabbay
2020-08-03 12:37 ` Tomer Tayar
0 siblings, 1 reply; 2+ messages in thread
From: Oded Gabbay @ 2020-08-03 11:51 UTC (permalink / raw)
To: linux-kernel, SW_Drivers
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>
---
drivers/misc/habanalabs/common/habanalabs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/habanalabs/common/habanalabs.h b/drivers/misc/habanalabs/common/habanalabs.h
index 942f7e52f1a2..8b5b4afe42c7 100644
--- a/drivers/misc/habanalabs/common/habanalabs.h
+++ b/drivers/misc/habanalabs/common/habanalabs.h
@@ -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;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] habanalabs: increase length of ASIC name
2020-08-03 11:51 [PATCH] habanalabs: increase length of ASIC name Oded Gabbay
@ 2020-08-03 12:37 ` Tomer Tayar
0 siblings, 0 replies; 2+ messages in thread
From: Tomer Tayar @ 2020-08-03 12:37 UTC (permalink / raw)
To: Oded Gabbay, linux-kernel, SW_Drivers
On Mon, Aug 3, 2020 at 14:51 Oded Gabbay <oded.gabbay@gmail.com> wrote:
> 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-03 12:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03 11:51 [PATCH] habanalabs: increase length of ASIC name Oded Gabbay
2020-08-03 12:37 ` Tomer Tayar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).