Skip to content

Commit

Permalink
net: 9p: Correct function name errstr2errno() in the kerneldoc comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xiongfeng Wang authored and David S. Miller committed Mar 29, 2021
1 parent bb2882b commit 8bf94a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/9p/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 8bf94a9

Please sign in to comment.