Messages in this thread | | | Date | Mon, 12 May 2014 13:43:25 -0700 | From | Andrew Morton <> | Subject | Re: [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()?
| |