summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-07-23 11:14:17 +0200
committerStefan Roese <[email protected]>2021-07-31 09:49:31 +0200
commit43fef8d4feeecf6356646317f725a0e211da0c1c (patch)
treef569df5149dd1c6a21290b213b2ded2164aa3280 /scripts/const_structs.checkpatch
parent19a81bdb3ecb4c7dae6794bbee3a1fd4327b6a67 (diff)
tools: kwboot: Fix wrong parameter passed to read()
The 'buf' variable is a pointer and '_buf' is the array itself. Therefore we should pass sizeof(_buf) instead of sizeof(buf) to read(). Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Reviewed-by: Chris Packham <[email protected]> Tested-by: Chris Packham <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions