net: fix AF_SMC related typo
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Thu, 12 Jan 2017 13:57:14 +0000 (14:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 14:47:01 +0000 (09:47 -0500)
When introducing the new socket family AF_SMC in
commit ac7138746e14 ("smc: establish new socket family"),
a typo in af_family_clock_key_strings has slipped in.
This patch repairs it.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Fixes: ac7138746e14 ("smc: establish new socket family")
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c

index dbbdc4f167898a9bb748c253f48e52fa507bbe45..8b35debfe454e3fa0ab2b320d6df7a016ff9c130 100644 (file)
@@ -256,7 +256,7 @@ static const char *const af_family_clock_key_strings[AF_MAX+1] = {
   "clock-AF_RXRPC" , "clock-AF_ISDN"     , "clock-AF_PHONET"   ,
   "clock-AF_IEEE802154", "clock-AF_CAIF" , "clock-AF_ALG"      ,
   "clock-AF_NFC"   , "clock-AF_VSOCK"    , "clock-AF_KCM"      ,
-  "clock-AF_QIPCRTR", "closck-AF_smc"    , "clock-AF_MAX"
+  "clock-AF_QIPCRTR", "clock-AF_SMC"     , "clock-AF_MAX"
 };
 
 /*