habanalabs: increase length of ASIC name
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.
Signed-off-by Oded Gabbay <[email protected]>
--- drivers/misc/habanalabs/common/habanalabs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/habanalabs/common/habanalabs.h +1 -1
@@ -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
Quoted 4 lines · On Mon, Aug 3, 2020 at 14:51 Oded Gabbay <[email protected]> wrote:
Future ASIC names are longer than 15 chars so increase the variable length to 32 chars.
Signed-off-by Oded Gabbay <[email protected]>
Reviewed-by Tomer Tayar <[email protected]>