Removed blocking_link field description to prevent kernel doc warning

Message ID 20240303144359.7066-1-prosunofficial@gmail.com
State New
Headers
Series Removed blocking_link field description to prevent kernel doc warning |

Commit Message

R SUNDAR March 3, 2024, 2:43 p.m. UTC
  /net/tipc/socket.c:143: warning: Excess struct member 'blocking_link' description in 'tipc_sock'

Signed-off-by: R SUNDAR <prosunofficial@gmail.com>
---
 net/tipc/socket.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Simon Horman March 4, 2024, 5:28 p.m. UTC | #1
On Sun, Mar 03, 2024 at 08:13:59PM +0530, R SUNDAR wrote:
> ./net/tipc/socket.c:143: warning: Excess struct member 'blocking_link' description in 'tipc_sock'
> 
> Signed-off-by: R SUNDAR <prosunofficial@gmail.com>
> ---
>  net/tipc/socket.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/net/tipc/socket.c b/net/tipc/socket.c
> index bb1118d02f95..7e4135db5816 100644
> --- a/net/tipc/socket.c
> +++ b/net/tipc/socket.c
> @@ -80,7 +80,6 @@ struct sockaddr_pair {
>   * @phdr: preformatted message header used when sending messages
>   * @cong_links: list of congested links
>   * @publications: list of publications for port
> - * @blocking_link: address of the congested link we are currently sleeping on
>   * @pub_count: total # of publications port has made during its lifetime
>   * @conn_timeout: the time we can wait for an unresponded setup request
>   * @probe_unacked: probe has not received ack yet

Thanks, this looks good.
However, it duplicates a patch accepted upstream in January.

Link: https://git.kernel.org/netdev/net-next/c/88bf1b8f3c31
  

Patch

diff --git a/net/tipc/socket.c b/net/tipc/socket.c
index bb1118d02f95..7e4135db5816 100644
--- a/net/tipc/socket.c
+++ b/net/tipc/socket.c
@@ -80,7 +80,6 @@  struct sockaddr_pair {
  * @phdr: preformatted message header used when sending messages
  * @cong_links: list of congested links
  * @publications: list of publications for port
- * @blocking_link: address of the congested link we are currently sleeping on
  * @pub_count: total # of publications port has made during its lifetime
  * @conn_timeout: the time we can wait for an unresponded setup request
  * @probe_unacked: probe has not received ack yet