Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/fat: fix two checkpatch issues in cache.c

This does the following:
1: Splits the arguments of a function call to stop it
from exceeding 80 characters
2: Re-indents the arguments of another function call
to prevent the splitting of a quoted string.

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Cruz Julian Bishop and committed by
Linus Torvalds
c9051829 4a3aeb13

+6 -4
+6 -4
fs/fat/cache.c
··· 190 190 struct fat_cache *cache; 191 191 192 192 while (!list_empty(&i->cache_lru)) { 193 - cache = list_entry(i->cache_lru.next, struct fat_cache, cache_list); 193 + cache = list_entry(i->cache_lru.next, 194 + struct fat_cache, cache_list); 194 195 list_del_init(&cache->cache_list); 195 196 i->nr_caches--; 196 197 fat_cache_free(cache); ··· 262 261 if (nr < 0) 263 262 goto out; 264 263 else if (nr == FAT_ENT_FREE) { 265 - fat_fs_error_ratelimit(sb, "%s: invalid cluster chain" 266 - " (i_pos %lld)", __func__, 267 - MSDOS_I(inode)->i_pos); 264 + fat_fs_error_ratelimit(sb, 265 + "%s: invalid cluster chain (i_pos %lld)", 266 + __func__, 267 + MSDOS_I(inode)->i_pos); 268 268 nr = -EIO; 269 269 goto out; 270 270 } else if (nr == FAT_ENT_EOF) {