2014-04-15 09:14:24

by Kinglong Mee

[permalink] [raw]
Subject: [PATCH] SUNRPC: Fix printk that is not only for nfsd

Signed-off-by: Kinglong Mee <[email protected]>
---
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)
}
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



2014-05-08 16:48:35

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH] SUNRPC: Fix printk that is not only for nfsd

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 <[email protected]>
> ---
> 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
>

2014-05-09 04:02:50

by Kinglong Mee

[permalink] [raw]
Subject: Re: [PATCH] SUNRPC: Fix printk that is not only for nfsd



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 <[email protected]>
>> ---
>> 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
>>
>