提交 3a0799a9 编写于 作者: C Chuck Lever 提交者: Trond Myklebust

SUNRPC: remove KERN_INFO from dprintk() call sites

The use of KERN_INFO causes garbage characters to appear when
debugging is enabled.
Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
上级 2b7bbc96
...@@ -733,7 +733,7 @@ static void __exit xprt_rdma_cleanup(void) ...@@ -733,7 +733,7 @@ static void __exit xprt_rdma_cleanup(void)
{ {
int rc; int rc;
dprintk(KERN_INFO "RPCRDMA Module Removed, deregister RPC RDMA transport\n"); dprintk("RPCRDMA Module Removed, deregister RPC RDMA transport\n");
#ifdef RPC_DEBUG #ifdef RPC_DEBUG
if (sunrpc_table_header) { if (sunrpc_table_header) {
unregister_sysctl_table(sunrpc_table_header); unregister_sysctl_table(sunrpc_table_header);
...@@ -755,14 +755,14 @@ static int __init xprt_rdma_init(void) ...@@ -755,14 +755,14 @@ static int __init xprt_rdma_init(void)
if (rc) if (rc)
return rc; return rc;
dprintk(KERN_INFO "RPCRDMA Module Init, register RPC RDMA transport\n"); dprintk("RPCRDMA Module Init, register RPC RDMA transport\n");
dprintk(KERN_INFO "Defaults:\n"); dprintk("Defaults:\n");
dprintk(KERN_INFO "\tSlots %d\n" dprintk("\tSlots %d\n"
"\tMaxInlineRead %d\n\tMaxInlineWrite %d\n", "\tMaxInlineRead %d\n\tMaxInlineWrite %d\n",
xprt_rdma_slot_table_entries, xprt_rdma_slot_table_entries,
xprt_rdma_max_inline_read, xprt_rdma_max_inline_write); xprt_rdma_max_inline_read, xprt_rdma_max_inline_write);
dprintk(KERN_INFO "\tPadding %d\n\tMemreg %d\n", dprintk("\tPadding %d\n\tMemreg %d\n",
xprt_rdma_inline_write_padding, xprt_rdma_memreg_strategy); xprt_rdma_inline_write_padding, xprt_rdma_memreg_strategy);
#ifdef RPC_DEBUG #ifdef RPC_DEBUG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册