From: Rosen, Rami <rami.rosen@intel.com>
Date: Sun, 21 May 2017 19:12:38 +0000 (+0300)
Subject: net: socket: fix a typo in sockfd_lookup().
X-Git-Tag: v4.13-rc1~157^2~393
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=241c4667fcf3b64f84a892e2b656027d85e73e6b;p=users%2Fjedix%2Flinux-maple.git

net: socket: fix a typo in sockfd_lookup().

This patch fixes a typo in sockfd_lookup() in net/socket.c.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/socket.c b/net/socket.c
index cb355a7ef135..8f9dab330d57 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -461,7 +461,7 @@ EXPORT_SYMBOL(sock_from_file);
  *	@err: pointer to an error code return
  *
  *	The file handle passed in is locked and the socket it is bound
- *	too is returned. If an error occurs the err pointer is overwritten
+ *	to is returned. If an error occurs the err pointer is overwritten
  *	with a negative errno code and NULL is returned. The function checks
  *	for both invalid handles and passing a handle which is not a socket.
  *