From 2e28291c75d73b92921f7769eaa803fe3222f383 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Mon, 9 Dec 2019 17:58:44 +0100 Subject: [PATCH] zipl: make BLK_PWRT unsigned int MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise there might be a compiler warning when using 'MIN(bl_count, BLK_PWRT)'. Reviewed-by: Philipp Rudo Reviewed-by: Stefan Haberland Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- zipl/boot/fba2dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipl/boot/fba2dump.c b/zipl/boot/fba2dump.c index d46a84c9..100556b7 100644 --- a/zipl/boot/fba2dump.c +++ b/zipl/boot/fba2dump.c @@ -14,7 +14,7 @@ #include "fba.h" #include "stage2dump.h" -#define BLK_PWRT 64 /* Blocks per write */ +#define BLK_PWRT 64U /* Blocks per write */ #define BLK_SIZE 0x200 /* FBA block size */ #define BLK_PER_PAGE (PAGE_SIZE / BLK_SIZE) /* FBA blocks per page */