Skip to content
Commit cd0a1835 authored by Koby Elbaz's avatar Koby Elbaz Committed by Greg Kroah-Hartman
Browse files

accel/habanalabs: increase HL_MAX_STR to 64 bytes to avoid warnings

[ Upstream commit 8c075401

 ]

Fix a warning of a buffer overflow:
‘snprintf’ output between 38 and 47 bytes into a destination of size 32

Signed-off-by: default avatarKoby Elbaz <kelbaz@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 953fee81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment