Re: [PATCH 1/2] FS/CACHEFILES: convert printk to pr_foo()
From: Andrew Morton
Date: Mon May 12 2014 - 16:43:31 EST
On Mon, 12 May 2014 20:04:45 +0200 Fabian Frederick <fabf@xxxxxxxxx> wrote:
>
> --- a/fs/cachefiles/bind.c
> +++ b/fs/cachefiles/bind.c
> @@ -228,9 +228,8 @@ static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache)
> set_bit(CACHEFILES_READY, &cache->flags);
> dput(root);
>
> - printk(KERN_INFO "CacheFiles:"
> - " File cache on %s registered\n",
> - cache->cache.identifier);
> + pr_info("CacheFiles: File cache on %s registered\n",
> + cache->cache.identifier);
Why are we using "CacheFiles: " everywhere? Can't this be done via pr_fmt()?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/