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:
Matthew Garrett
2011-07-21 16:57:54 -04:00
cometido por Tony Luck
padre 56280682ce
commit b94fdd077e
Se han modificado 3 ficheros con 7 adiciones y 6 borrados

Ver fichero

@@ -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];