lkml.org 
[lkml]   [2014]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] FS/CACHEFILES: convert printk to pr_foo()
On Mon, 12 May 2014 20:04:45 +0200 Fabian Frederick <fabf@skynet.be> 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()?



\
 
 \ /
  Last update: 2014-05-12 23:21    [W:0.028 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site