From patchwork Tue Dec 5 23:01:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 174227 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3756136vqy; Tue, 5 Dec 2023 15:02:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfGtvb4uCaedsW/Mse1Sp63yITo5vEiSs4UG7aqVhYnwIR4K3Aa/ud7e4QiyYYTeE9bIsp X-Received: by 2002:a05:6830:1250:b0:6d8:787d:2e87 with SMTP id s16-20020a056830125000b006d8787d2e87mr23373otp.64.1701817328713; Tue, 05 Dec 2023 15:02:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701817328; cv=none; d=google.com; s=arc-20160816; b=dGQzS6xvaYaVsV8WStp4mV6TckzMluZzY19hLWXj0lIbMl6CFaDWLRIgX42TKcN7r/ q99L21e2+N2yPRAh6ihHJa5lFl3tLhggG2mGXLFChxP9nOIWV3FSeWPkJPudz0BthPPh vKz8jB5bv2c0KdhJ7qsrsHYG3x6C+7BgNnog3V4dxbah0yZGFrjbWFyB4B6tVW994nys EfjHSBk0XKkXa54gpWxFxExOfPmjpjsxTIcDD4vKAHQG6rST7TiqilOIYYhJlqzQnFU+ Q/0RpqyzQnAJeLYsG57Ku/aDyH2qfp0Vu1VLFr9f81iOIVYceSksgCg945n5hBn8kLj7 BBrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=veuA5jcJpJK6ZOBUYJpEl5tEQ5a6kyp2AU4+606vnO0=; fh=XvA0J2fNAGg8hQHW9Wx5/NMvfkM7qA9EZCweyCacxws=; b=AsDqeMfgHhe3ilU1VJxGzuc7KfX/vkuJKJboiSXzy+B0/pQi1C7Z+AwbNdRTa0XnCA bdrAiX/x0iqrpGb06vb69mKwz0Ndcl5bbYpqrLy/ka5a0aseh2F+wgE2/yOj+XyZcKCZ Ge7SgG99KlSu5XZo5fLIIQXi2Jg2le63u1kNLN1NgD6mm5t5ek6GGzUd7jBGafyVlu6m IM2o3Vs0p/1n7WOUZ98dDf0fCRRmCrUE9P97RRtL5lbFSfOHwiizvhS/jL4IT37JlOgo /a+GzBhQAz5QtlB7TSJMnout0g7Tx28ycH0QeTh6IvFtXgDpXDIPYLfwE6NObx/wIZrE Iipg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Ixct9+YK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r16-20020a056830419000b006d81681e2fcsi3991634otu.180.2023.12.05.15.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:02:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Ixct9+YK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 638A980781D4; Tue, 5 Dec 2023 15:01:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346254AbjLEXBG (ORCPT + 99 others); Tue, 5 Dec 2023 18:01:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjLEXBE (ORCPT ); Tue, 5 Dec 2023 18:01:04 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 874EDB5; Tue, 5 Dec 2023 15:01:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=veuA5jcJpJK6ZOBUYJpEl5tEQ5a6kyp2AU4+606vnO0=; b=Ixct9+YK621xO+NHLV3Bl7IpTW RD2TXwUyTf9T5SoFN4RP5+r0GpMXDSzhPaiPhIaMQj/bPyZY8YgfAj1La7E6qd2VvqGY0S1ut3BY+ 3o1iMIK9VRhWQqZUrMYqplKosgXALBP0NTTenE1BPFmFdyHsHZGbh/MXk1MOx12278cmx7N8ClhF4 bZY55cHSyq+XQXIF4l9R2k3DUe0eZLlPMk2ROb8SYuBtIdFl9vXufyEdK4sfSwx1MdpLvFxUxbYAn DD6VqLrOYtaiaSw0uRZO9M4kXFcoDqWhoVUv8PmxJDdFpac5mPf0eznPqzMatOW9cDEM3hpXdGN0o dQ14unRA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAePZ-008ZJ8-0v; Tue, 05 Dec 2023 23:01:11 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Peter Huewe , Jarkko Sakkinen , linux-integrity@vger.kernel.org Subject: [PATCH] tpm: cr50: fix a kernel-doc warning Date: Tue, 5 Dec 2023 15:01:04 -0800 Message-ID: <20231205230104.414-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 15:01:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784484807469768318 X-GMAIL-MSGID: 1784484807469768318 Dropn one function parameter line to prevent kernel-doc warnings. tpm_tis_i2c_cr50.c:681: warning: Excess function parameter 'id' description in 'tpm_cr50_i2c_probe' Signed-off-by: Randy Dunlap Cc: Peter Huewe Cc: Jarkko Sakkinen Cc: linux-integrity@vger.kernel.org --- drivers/char/tpm/tpm_tis_i2c_cr50.c | 1 - 1 file changed, 1 deletion(-) diff -- a/drivers/char/tpm/tpm_tis_i2c_cr50.c b/drivers/char/tpm/tpm_tis_i2c_cr50.c --- a/drivers/char/tpm/tpm_tis_i2c_cr50.c +++ b/drivers/char/tpm/tpm_tis_i2c_cr50.c @@ -671,7 +671,6 @@ MODULE_DEVICE_TABLE(of, of_cr50_i2c_matc /** * tpm_cr50_i2c_probe() - Driver probe function. * @client: I2C client information. - * @id: I2C device id. * * Return: * - 0: Success.