aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mktitanimg.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-04-09 08:52:03 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-04-09 10:46:15 +0200
commita2f66229450dc2f7647c19ac83f3948e809406c2 (patch)
tree42bc9bf9b41e79c6c46765eacf2cfbfa300c80d6 /tools/firmware-utils/src/mktitanimg.c
parent7c01e2bac1c2df1e10658b81e903fbd687c1a56b (diff)
downloadupstream-a2f66229450dc2f7647c19ac83f3948e809406c2.tar.gz
upstream-a2f66229450dc2f7647c19ac83f3948e809406c2.tar.bz2
upstream-a2f66229450dc2f7647c19ac83f3948e809406c2.zip
firmware-utils: fix few random warnings
1. -Wunused-label 2. -Wparentheses 3. -Wmisleading-indentation 4. -Wformat-overflow Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools/firmware-utils/src/mktitanimg.c')
-rw-r--r--tools/firmware-utils/src/mktitanimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mktitanimg.c b/tools/firmware-utils/src/mktitanimg.c
index 6f2b27a1f6..acc21bd64d 100644
--- a/tools/firmware-utils/src/mktitanimg.c
+++ b/tools/firmware-utils/src/mktitanimg.c
@@ -284,7 +284,7 @@ int main(int argc, char* argv[], char* env[])
else
padding = align - ((section->raw_size+ section->offset) % align);
- section->total_size=section->raw_size + padding;
+ section->total_size=section->raw_size + padding;
}
else{
#define EXTRA_BLOCK 0x10000