From patchwork Fri Jan 19 09:57:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 189477 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp903432dyb; Fri, 19 Jan 2024 02:00:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLJpUAXcGuPSXwFyYs44CDqMYpW6pF4PsuUIETTOXhq+MnauSyF+O/Fvw1+88iXE/+tBfM X-Received: by 2002:a17:902:b90b:b0:1d6:f2c0:15d9 with SMTP id bf11-20020a170902b90b00b001d6f2c015d9mr974233plb.66.1705658457340; Fri, 19 Jan 2024 02:00:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705658457; cv=pass; d=google.com; s=arc-20160816; b=SGQPPAIy/hGOys05v9kUCiAMG5V3QdFoeAWbvW+KWlP5zliY8Uv+d9oVsT3Vnlc3n6 KWq8HPUBuVh4Y4xC1Gnvs7UYNrZ3DpGTTTNZMNGiy0gL6L6ffNYxHv0gDiQ7bgprb3zi xPdMHLuTchTcxUDodSrDWC4Xl3pN4KP2W8Da3Cn3OUzmCD7cyy6vAF8omu2cv6p/ALmw t0fbkHcPhd3132SusQTZblGKDA1mWacPwbWoU6Y27P2tlyuBlAGs/Cv7XDvMvyKMrBvs 8fchQJhi19sVpUysFr2/I+pPznFLGea3LBzX64f8kyVtSGKFw5R8yuuKt9QbHUqDRxAI Tkaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=J7AaNhxDhx5w8tNLAs52/nOS+O165sbIHRcdiX3bauI=; fh=1b3DEAFIg+zZPqlVsCzVjyr+Z2sanxJzUc4JUVXxTzw=; b=ShSsg5k+FwuhA2Oml4UZ2RpiMuxQvkjc36+3B9TS75pXq7IF3k0CMYvyaR2xSyJDU7 mbohwE5qy0OnaI21M3Ot3zcCfNfO5d+y4oNAbXAb9u9ZATNNjsteqNKk0+7jnY/sTb73 3HFFJsH2K2wNPJq3GO4wnll0WK3td1QNMZrMI1dwURNNtUG7fn9wZ9kAqye1q6/Vz9Am CP0DAVIsIYo3Klo2dFD1u9Ce67qOFOrw+4IfW+VxKVD87H6iuN29kyuRrs7I9I7+8qif QE+afCEeXVC7uZp4kLI0Owhz59Y92EHvI340Wpn7y+38XSGLIuAqZBSaD9dcC3SNAcfi 61PA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-30986-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30986-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x6-20020a170902ea8600b001d70710d24asi2604689plb.372.2024.01.19.02.00.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 02:00:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30986-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-30986-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30986-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B3BC9B21E29 for ; Fri, 19 Jan 2024 09:57:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 247263C49E; Fri, 19 Jan 2024 09:57:19 +0000 (UTC) Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9986A3C463; Fri, 19 Jan 2024 09:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.132 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705658237; cv=none; b=nZ+tRwfhufwz5CJFU2Jx3SJm/9dSj+g5Vr7hJbt65SupSYWkJbfoASbhmcJ8txfn24QBJ8Yq8pSpJd0evtQiZziN0Z25v6ELEtbBhCOSsL16oH0lZgRwuWtNutP7JAYF6QI/M0xO6FvCIubuW2a4h8L3m2V8G5pYoE7XMIY7V5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705658237; c=relaxed/simple; bh=ugcIKYXuuIIdvqm9fPsjbcKxZwNOl92EzCsZNTFQ/Yw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Raypc0yiL9AXWsNOjAhz563NoXq0EVgGESTONKfZT4dKEO2EmWS2jaldSbQVPdZ5+Ui/a+561hGqiUd0oc23bEzkOJgdAKgsBk+yKrTG2NeBahPIoVh2uyF47JggsquMglzQo2lASDzbCIFOxdr8rdFEKCH9nUeiN+Y53rMkELk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; arc=none smtp.client-ip=115.124.30.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R731e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0W-viV-._1705658228; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W-viV-._1705658228) by smtp.aliyun-inc.com; Fri, 19 Jan 2024 17:57:09 +0800 From: Yang Li To: linkinjeon@kernel.org, sfrench@samba.org, senozhatsky@chromium.org, tom@talpey.com Cc: linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] smb: Fix some kernel-doc comments Date: Fri, 19 Jan 2024 17:57:07 +0800 Message-Id: <20240119095707.120338-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788512522520358316 X-GMAIL-MSGID: 1788512522520358316 Fix some kernel-doc comments to silence the warnings: fs/smb/server/transport_tcp.c:374: warning: Function parameter or struct member 'max_retries' not described in 'ksmbd_tcp_read' fs/smb/server/transport_tcp.c:423: warning: Function parameter or struct member 'iface' not described in 'create_socket' Signed-off-by: Yang Li Acked-by: Namjae Jeon --- fs/smb/server/transport_tcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/smb/server/transport_tcp.c b/fs/smb/server/transport_tcp.c index 9d4222154dcc..002a3f0dc7c5 100644 --- a/fs/smb/server/transport_tcp.c +++ b/fs/smb/server/transport_tcp.c @@ -365,6 +365,7 @@ static int ksmbd_tcp_readv(struct tcp_transport *t, struct kvec *iov_orig, * @t: TCP transport instance * @buf: buffer to store read data from socket * @to_read: number of bytes to read from socket + * @max_retries: number of retries if reading from socket fails * * Return: on success return number of bytes read from socket, * otherwise return error number @@ -416,6 +417,7 @@ static void tcp_destroy_socket(struct socket *ksmbd_socket) /** * create_socket - create socket for ksmbd/0 + * @iface: interface to bind the created socket to * * Return: 0 on success, error number otherwise */