net: add pf_family_names[] for protocol family
authorYejune Deng <yejune.deng@gmail.com>
Fri, 18 Jun 2021 14:32:47 +0000 (22:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 20:02:21 +0000 (13:02 -0700)
commit1f3c98eaddec857e16a7a1c6cd83317b3dc89438
tree74976b9b15190f9824cc82353267f0ee82f432c4
parent0d1ad06af239179d336f6eb0ef3ca40f70ce09ce
net: add pf_family_names[] for protocol family

Modify the pr_info content from int to char *, this looks more readable.

Signed-off-by: Yejune Deng <yejune.deng@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/net.h
net/socket.c