kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] nfsd: remove extraneous KERN_INFO prefix
@ 2016-07-02  6:24 Christophe JAILLET
  2016-07-06 13:52 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2016-07-02  6:24 UTC (permalink / raw)
  To: jlayton, bfields
  Cc: linux-nfs, linux-kernel, kernel-janitors, Christophe JAILLET

smatch complains about using KERN_INFO as a prefix when calling dprintk

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 fs/nfsd/nfs4state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index bc2173a..ba6b2df 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2226,7 +2226,7 @@ gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_r
 out_err:
 	conn->cb_addr.ss_family = AF_UNSPEC;
 	conn->cb_addrlen = 0;
-	dprintk(KERN_INFO "NFSD: this client (clientid %08x/%08x) "
+	dprintk("NFSD: this client (clientid %08x/%08x) "
 		"will not receive delegations\n",
 		clp->cl_clientid.cl_boot, clp->cl_clientid.cl_id);
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] nfsd: remove extraneous KERN_INFO prefix
  2016-07-02  6:24 [PATCH 2/2] nfsd: remove extraneous KERN_INFO prefix Christophe JAILLET
@ 2016-07-06 13:52 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2016-07-06 13:52 UTC (permalink / raw)
  To: Christophe JAILLET; +Cc: jlayton, linux-nfs, linux-kernel, kernel-janitors

Thanks, applying both patches.--b.

On Sat, Jul 02, 2016 at 08:24:48AM +0200, Christophe JAILLET wrote:
> smatch complains about using KERN_INFO as a prefix when calling dprintk
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>  fs/nfsd/nfs4state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index bc2173a..ba6b2df 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -2226,7 +2226,7 @@ gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_r
>  out_err:
>  	conn->cb_addr.ss_family = AF_UNSPEC;
>  	conn->cb_addrlen = 0;
> -	dprintk(KERN_INFO "NFSD: this client (clientid %08x/%08x) "
> +	dprintk("NFSD: this client (clientid %08x/%08x) "
>  		"will not receive delegations\n",
>  		clp->cl_clientid.cl_boot, clp->cl_clientid.cl_id);
>  
> -- 
> 2.7.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-06 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-02  6:24 [PATCH 2/2] nfsd: remove extraneous KERN_INFO prefix Christophe JAILLET
2016-07-06 13:52 ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).