habanalabs: increase length of ASIC name
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 2 Aug 2020 08:49:09 +0000 (11:49 +0300)
committerOded 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

index edbd627..278c45a 100644 (file)
@@ -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;