summaryrefslogtreecommitdiff
path: root/net/9p/error.c
diff options
context:
space:
mode:
authorXiongfeng Wang <wangxiongfeng2@huawei.com>2021-03-27 11:15:52 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-29 03:56:56 +0300
commit8bf94a92505e6e9d46a76230b4900238685aa2ae (patch)
tree1f65143440224e6e2560ea7390eaa0912499cf4b /net/9p/error.c
parentbb2882bc6c54672b4c57a2108a18ec3acc7c878c (diff)
downloadlinux-8bf94a92505e6e9d46a76230b4900238685aa2ae.tar.xz
net: 9p: Correct function name errstr2errno() in the kerneldoc comments
Fix the following W=1 kernel build warning(s): net/9p/error.c:207: warning: expecting prototype for errstr2errno(). Prototype was for p9_errstr2errno() instead Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p/error.c')
-rw-r--r--net/9p/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/error.c b/net/9p/error.c
index 231f355fa9c6..61c18daf3050 100644
--- a/net/9p/error.c
+++ b/net/9p/error.c
@@ -197,7 +197,7 @@ int p9_error_init(void)
EXPORT_SYMBOL(p9_error_init);
/**
- * errstr2errno - convert error string to error number
+ * p9_errstr2errno - convert error string to error number
* @errstr: error string
* @len: length of error string
*