projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stat: Use size_t for sizes instead of unsigned
[cascardo/linux.git]
/
fs
/
proc
/
stat.c
diff --git
a/fs/proc/stat.c
b/fs/proc/stat.c
index
e296572
..
1cf86c0
100644
(file)
--- a/
fs/proc/stat.c
+++ b/
fs/proc/stat.c
@@
-184,7
+184,7
@@
static int show_stat(struct seq_file *p, void *v)
static int stat_open(struct inode *inode, struct file *file)
{
-
unsigned
size = 1024 + 128 * num_possible_cpus();
+
size_t
size = 1024 + 128 * num_possible_cpus();
char *buf;
struct seq_file *m;
int res;