diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2016-05-23 19:23:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:04:14 -0400 |
commit | 0c6c44cb9f93f7c0ad803b41ae7c0b08cf6942e2 (patch) | |
tree | 4647ab990148950182368c90f9142be75153e6c9 /fs/nilfs2/cpfile.c | |
parent | 7592ecde65f908f082cfd3440888fd6ae99f4cbb (diff) |
nilfs2: avoid bare use of 'unsigned'
This fixes checkpatch.pl warning "WARNING: Prefer 'unsigned int' to
bare use of 'unsigned'".
Link: http://lkml.kernel.org/r/1462886671-3521-5-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/cpfile.c')
-rw-r--r-- | fs/nilfs2/cpfile.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/nilfs2/cpfile.c b/fs/nilfs2/cpfile.c index 16f884bd857c..b61c3e0eb342 100644 --- a/fs/nilfs2/cpfile.c +++ b/fs/nilfs2/cpfile.c | |||
@@ -431,7 +431,8 @@ static void nilfs_cpfile_checkpoint_to_cpinfo(struct inode *cpfile, | |||
431 | } | 431 | } |
432 | 432 | ||
433 | static ssize_t nilfs_cpfile_do_get_cpinfo(struct inode *cpfile, __u64 *cnop, | 433 | static ssize_t nilfs_cpfile_do_get_cpinfo(struct inode *cpfile, __u64 *cnop, |
434 | void *buf, unsigned cisz, size_t nci) | 434 | void *buf, unsigned int cisz, |
435 | size_t nci) | ||
435 | { | 436 | { |
436 | struct nilfs_checkpoint *cp; | 437 | struct nilfs_checkpoint *cp; |
437 | struct nilfs_cpinfo *ci = buf; | 438 | struct nilfs_cpinfo *ci = buf; |
@@ -482,7 +483,8 @@ static ssize_t nilfs_cpfile_do_get_cpinfo(struct inode *cpfile, __u64 *cnop, | |||
482 | } | 483 | } |
483 | 484 | ||
484 | static ssize_t nilfs_cpfile_do_get_ssinfo(struct inode *cpfile, __u64 *cnop, | 485 | static ssize_t nilfs_cpfile_do_get_ssinfo(struct inode *cpfile, __u64 *cnop, |
485 | void *buf, unsigned cisz, size_t nci) | 486 | void *buf, unsigned int cisz, |
487 | size_t nci) | ||
486 | { | 488 | { |
487 | struct buffer_head *bh; | 489 | struct buffer_head *bh; |
488 | struct nilfs_cpfile_header *header; | 490 | struct nilfs_cpfile_header *header; |
@@ -568,7 +570,7 @@ static ssize_t nilfs_cpfile_do_get_ssinfo(struct inode *cpfile, __u64 *cnop, | |||
568 | */ | 570 | */ |
569 | 571 | ||
570 | ssize_t nilfs_cpfile_get_cpinfo(struct inode *cpfile, __u64 *cnop, int mode, | 572 | ssize_t nilfs_cpfile_get_cpinfo(struct inode *cpfile, __u64 *cnop, int mode, |
571 | void *buf, unsigned cisz, size_t nci) | 573 | void *buf, unsigned int cisz, size_t nci) |
572 | { | 574 | { |
573 | switch (mode) { | 575 | switch (mode) { |
574 | case NILFS_CHECKPOINT: | 576 | case NILFS_CHECKPOINT: |