diff options
author | Lv Ruyi <[email protected]> | 2021-10-09 08:59:00 +0000 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2021-10-18 16:04:01 +0200 |
commit | 711e26c00e4c7b7cef0420c76a61e6d818e12687 (patch) | |
tree | 04c0eb97cd124a46bcff333e6a32e8197e544011 /net/lapb/lapb_timer.c | |
parent | f11c34bddf8cd2a3107a7d11b6446c66deda9590 (diff) |
firmware: tegra: Fix error application of sizeof() to pointer
Application of sizeof() to pointer yields the number of bytes of the
pointer, but it should use the length of buffer in the code.
Fixes: 06c2d9a078ab ("firmware: tegra: Reduce stack usage")
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Lv Ruyi <[email protected]>
Reviewed-by: Jon Hunter <[email protected]>
Tested-by: Jon Hunter <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions