diff options
author | Matthew Garrett <mjg@redhat.com> | 2011-07-21 16:57:54 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2011-07-22 16:14:29 -0700 |
commit | b94fdd077eef5e6cab56836bf62695b497946716 (patch) | |
tree | f1278f560084e6689a88a4e47f81484ffdb113df /fs | |
parent | 56280682ceeef74b692b3e21d1872049eea7c887 (diff) | |
download | linux-3.10-b94fdd077eef5e6cab56836bf62695b497946716.tar.gz linux-3.10-b94fdd077eef5e6cab56836bf62695b497946716.tar.bz2 linux-3.10-b94fdd077eef5e6cab56836bf62695b497946716.zip |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/pstore/platform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 163bb40511e..49ff1de2178 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -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]; |