pstore: Make "part" unsigned
We'll never have a negative part, so just make this an unsigned int. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Este commit está contenido en:

cometido por
Tony Luck

padre
56280682ce
commit
b94fdd077e
@@ -67,7 +67,8 @@ static void pstore_dump(struct kmsg_dumper *dumper,
|
||||
unsigned long size, total = 0;
|
||||
char *dst, *why;
|
||||
u64 id;
|
||||
int hsize, part = 1;
|
||||
int hsize;
|
||||
unsigned int part = 1;
|
||||
|
||||
if (reason < ARRAY_SIZE(reason_str))
|
||||
why = reason_str[reason];
|
||||
|
Referencia en una nueva incidencia
Block a user