diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-08-03 17:36:36 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-08-22 12:47:57 +0300 |
commit | eeec23cd325ad4d83927b8ee162693579cf3813f (patch) | |
tree | cb674ee95f62162e10a7d2f05eff8bc9cf1eec1d /net/unix/af_unix.c | |
parent | bc75be24fa88ef10eecaff2b2a9ada8189e5ab5d (diff) | |
download | linux-eeec23cd325ad4d83927b8ee162693579cf3813f.tar.xz |
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: c216477363a3 ("habanalabs: add debugfs support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions