mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: make BLK_PWRT unsigned int
Otherwise there might be a compiler warning when using 'MIN(bl_count, BLK_PWRT)'. Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
24fe8c1d1b
commit
2e28291c75
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user