netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/core/sock.c: add missing VSOCK string in af_family_*_key_strings
@ 2013-05-28 15:02 Federico Vaga
  2013-05-28 17:58 ` Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Federico Vaga @ 2013-05-28 15:02 UTC (permalink / raw)
  To: David S. Miller, Neil Horman, Eric Dumazet, Li Zefan,
	Andrew Morton
  Cc: netdev, linux-kernel, Federico Vaga

The three arrays of strings: af_family_kay_strings,
af_family_slock_key_strings and af_family_clock_key_strings have not
VSOCK's string

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
---
 net/core/sock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/core/sock.c b/net/core/sock.c
index 6ba327d..88868a9 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -210,7 +210,7 @@ static const char *const af_family_key_strings[AF_MAX+1] = {
   "sk_lock-AF_TIPC"  , "sk_lock-AF_BLUETOOTH", "sk_lock-IUCV"        ,
   "sk_lock-AF_RXRPC" , "sk_lock-AF_ISDN"     , "sk_lock-AF_PHONET"   ,
   "sk_lock-AF_IEEE802154", "sk_lock-AF_CAIF" , "sk_lock-AF_ALG"      ,
-  "sk_lock-AF_NFC"   , "sk_lock-AF_MAX"
+  "sk_lock-AF_NFC"   , "sk_lock-AF_VSOCK"    , "sk_lock-AF_MAX"
 };
 static const char *const af_family_slock_key_strings[AF_MAX+1] = {
   "slock-AF_UNSPEC", "slock-AF_UNIX"     , "slock-AF_INET"     ,
@@ -226,7 +226,7 @@ static const char *const af_family_slock_key_strings[AF_MAX+1] = {
   "slock-AF_TIPC"  , "slock-AF_BLUETOOTH", "slock-AF_IUCV"     ,
   "slock-AF_RXRPC" , "slock-AF_ISDN"     , "slock-AF_PHONET"   ,
   "slock-AF_IEEE802154", "slock-AF_CAIF" , "slock-AF_ALG"      ,
-  "slock-AF_NFC"   , "slock-AF_MAX"
+  "slock-AF_NFC"   , "slock-AF_VSOCK"    ,"slock-AF_MAX"
 };
 static const char *const af_family_clock_key_strings[AF_MAX+1] = {
   "clock-AF_UNSPEC", "clock-AF_UNIX"     , "clock-AF_INET"     ,
@@ -242,7 +242,7 @@ static const char *const af_family_clock_key_strings[AF_MAX+1] = {
   "clock-AF_TIPC"  , "clock-AF_BLUETOOTH", "clock-AF_IUCV"     ,
   "clock-AF_RXRPC" , "clock-AF_ISDN"     , "clock-AF_PHONET"   ,
   "clock-AF_IEEE802154", "clock-AF_CAIF" , "clock-AF_ALG"      ,
-  "clock-AF_NFC"   , "clock-AF_MAX"
+  "clock-AF_NFC"   , "clock-AF_VSOCK"    , "clock-AF_MAX"
 };
 
 /*
-- 
1.8.1.4

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

* Re: [PATCH] net/core/sock.c: add missing VSOCK string in af_family_*_key_strings
  2013-05-28 15:02 [PATCH] net/core/sock.c: add missing VSOCK string in af_family_*_key_strings Federico Vaga
@ 2013-05-28 17:58 ` Sergei Shtylyov
  2013-05-29  6:59   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2013-05-28 17:58 UTC (permalink / raw)
  To: Federico Vaga
  Cc: David S. Miller, Neil Horman, Eric Dumazet, Li Zefan,
	Andrew Morton, netdev, linux-kernel

Hello.

On 28-05-2013 19:02, Federico Vaga wrote:

> The three arrays of strings: af_family_kay_strings,

    s/kay/key/. Maybe whoever applies this could fix the typo...

> af_family_slock_key_strings and af_family_clock_key_strings have not
> VSOCK's string

> Signed-off-by: Federico Vaga <federico.vaga@gmail.com>

WBR, Sergei

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

* Re: [PATCH] net/core/sock.c: add missing VSOCK string in af_family_*_key_strings
  2013-05-28 17:58 ` Sergei Shtylyov
@ 2013-05-29  6:59   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2013-05-29  6:59 UTC (permalink / raw)
  To: sergei.shtylyov
  Cc: federico.vaga, nhorman, edumazet, lizefan, akpm, netdev,
	linux-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Tue, 28 May 2013 21:58:52 +0400

> Hello.
> 
> On 28-05-2013 19:02, Federico Vaga wrote:
> 
>> The three arrays of strings: af_family_kay_strings,
> 
>    s/kay/key/. Maybe whoever applies this could fix the typo...

Applied with typo fixed and queued up for -stable.

Thanks.

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

end of thread, other threads:[~2013-05-29  6:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 15:02 [PATCH] net/core/sock.c: add missing VSOCK string in af_family_*_key_strings Federico Vaga
2013-05-28 17:58 ` Sergei Shtylyov
2013-05-29  6:59   ` David Miller

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).