diff options
| author | Pali Rohár <[email protected]> | 2021-09-24 23:06:44 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-10-01 11:07:13 +0200 |
| commit | c5d666aab3a76a7c307f9261afcf4899ec7c6410 (patch) | |
| tree | 67b10993bf0772b01bfec2b4847a50453d070e45 /scripts/const_structs.checkpatch | |
| parent | 00a1deed1c8d5005499ac7a3c1c337de27102eee (diff) | |
tools: kwboot: Fix return type of kwboot_xm_makeblock() function
Function kwboot_xm_makeblock() always returns length of xmodem block. It
is always non-negative and calculated from variable with size_t type. Set
return type of this function to size_t and remove dead code which checks
for negative value.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-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
