diff mbox

SUNRPC: Fix printk that is not only for nfsd

Message ID 534CF854.30100@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kinglong Mee April 15, 2014, 9:13 a.m. UTC
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
 net/sunrpc/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

J. Bruce Fields May 8, 2014, 4:48 p.m. UTC | #1
Thanks, applying.  By the way, your mail client seems to be corrupting
patches, e.g.:

On Tue, Apr 15, 2014 at 05:13:56PM +0800, Kinglong Mee wrote:
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> ---
>  net/sunrpc/cache.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
> index ae333c1..0663621 100644
> --- a/net/sunrpc/cache.c
> +++ b/net/sunrpc/cache.c
> @@ -374,7 +374,7 @@ void sunrpc_destroy_cache_detail(struct cache_detail
> *cd)

... it wrapped that line.  So git-am complains and I have to fix up
things by hand.

Might check Documentation/email-clients.txt to see if there's any useful
tips there.

--b.

>  	}
>  	return;
>  out:
> -	printk(KERN_ERR "nfsd: failed to unregister %s cache\n", cd->name);
> +	printk(KERN_ERR "RPC: failed to unregister %s cache\n", cd->name);
>  }
>  EXPORT_SYMBOL_GPL(sunrpc_destroy_cache_detail);
> 
> -- 
> 1.9.0
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kinglong Mee May 9, 2014, 4:02 a.m. UTC | #2
On 5/9/2014 00:48, J. Bruce Fields wrote:
> Thanks, applying.  By the way, your mail client seems to be corrupting
> patches, e.g.:
> 
> On Tue, Apr 15, 2014 at 05:13:56PM +0800, Kinglong Mee wrote:
>> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
>> ---
>>  net/sunrpc/cache.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
>> index ae333c1..0663621 100644
>> --- a/net/sunrpc/cache.c
>> +++ b/net/sunrpc/cache.c
>> @@ -374,7 +374,7 @@ void sunrpc_destroy_cache_detail(struct cache_detail
>> *cd)
> 
> ... it wrapped that line.  So git-am complains and I have to fix up
> things by hand.
> 
> Might check Documentation/email-clients.txt to see if there's any useful
> tips there.

Sorry for my fault.

thanks,
Kinglong Mee

> 
>>  	}
>>  	return;
>>  out:
>> -	printk(KERN_ERR "nfsd: failed to unregister %s cache\n", cd->name);
>> +	printk(KERN_ERR "RPC: failed to unregister %s cache\n", cd->name);
>>  }
>>  EXPORT_SYMBOL_GPL(sunrpc_destroy_cache_detail);
>>
>> -- 
>> 1.9.0
>>
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
index ae333c1..0663621 100644
--- a/net/sunrpc/cache.c
+++ b/net/sunrpc/cache.c
@@ -374,7 +374,7 @@  void sunrpc_destroy_cache_detail(struct cache_detail
*cd)
 	}
 	return;
 out:
-	printk(KERN_ERR "nfsd: failed to unregister %s cache\n", cd->name);
+	printk(KERN_ERR "RPC: failed to unregister %s cache\n", cd->name);
 }
 EXPORT_SYMBOL_GPL(sunrpc_destroy_cache_detail);