summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2021-09-24 23:06:41 +0200
committerStefan Roese <[email protected]>2021-10-01 11:07:13 +0200
commite453bb42ce34e6e142f6efc65c725cdb3cbac7ea (patch)
tree514185230a0d70a9a7aed06c32061fde16e59e0b /scripts/const_structs.checkpatch
parent46237e63d509a2f06e126b02465f8dd05e045e80 (diff)
tools: kwboot: Refactor and fix writing buffer
There are 3 instances in kwboot.c where we need to write() a given buffer whole (iteratively writing until all data are written), and 2 of those instances are wrong, for they do not increment the buffer pointer. Refactor the code into a new function kwboot_write() where it is fixed. Signed-off-by: Marek BehĂșn <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions