OSDN Git Service

net: 9p: Correct function name errstr2errno() in the kerneldoc comments
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Sat, 27 Mar 2021 08:15:52 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:56:56 +0000 (17:56 -0700)
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>
net/9p/error.c

index 231f355..61c18da 100644 (file)
@@ -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
  *