Commit c90518290ec88a45305a709aae72003a9bc8ad7c

Authored by Cruz Julian Bishop
Committed by Linus Torvalds
1 parent 4a3aeb13b7

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>

Showing 1 changed file with 6 additions and 4 deletions Side-by-side Diff

... ... @@ -190,7 +190,8 @@
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);
... ... @@ -261,9 +262,10 @@
261 262 if (nr < 0)
262 263 goto out;
263 264 else if (nr == FAT_ENT_FREE) {
264   - fat_fs_error_ratelimit(sb, "%s: invalid cluster chain"
265   - " (i_pos %lld)", __func__,
266   - MSDOS_I(inode)->i_pos);
  265 + fat_fs_error_ratelimit(sb,
  266 + "%s: invalid cluster chain (i_pos %lld)",
  267 + __func__,
  268 + MSDOS_I(inode)->i_pos);
267 269 nr = -EIO;
268 270 goto out;
269 271 } else if (nr == FAT_ENT_EOF) {