Skip to content
Commit eeec23cd authored by Dan Carpenter's avatar Dan Carpenter Committed by Oded Gabbay
Browse files

habanalabs: Fix memory corruption in debugfs



This has to be a long instead of a u32 because we write a long value.
On 64 bit systems, this will cause memory corruption.

Fixes: c2164773 ("habanalabs: add debugfs support")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent bc75be24
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