From patchwork Fri Dec 22 06:19:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 182551 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp876002dyi; Thu, 21 Dec 2023 22:19:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEi4cwqEMJPiggIo3r7cG52/y2O60JRnAeNalo+4bhygrATVvnPF6jUToTK9lzxFEzFIPhU X-Received: by 2002:a81:83c5:0:b0:5e2:a328:7294 with SMTP id t188-20020a8183c5000000b005e2a3287294mr755619ywf.53.1703225988011; Thu, 21 Dec 2023 22:19:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703225987; cv=none; d=google.com; s=arc-20160816; b=il5f2a+cxiIagIwawIP+8rHI/tNqeoOjpIvUh/rQkwwYaJoAz90EyrY8YUvi0TQAcq K0PgtkdPonUrcQ2377wOwzfE/3BK9nI01ACMv26RmJA2gSY21L1TMNFmE9oefDWA1jgL TNIOREjAYsCD3Ldq4reJ1fX+/psm/Komf4F6OeIrBXgctBbwcQYGQpjFsgdGI/lUdAL2 cuy+uI4U0bBXAuei/PtRQyqt1Lx0BsCikfbjcw8Ywja4Mgku4VE5AiNEtjSXMUpG6tzz C8+lUOF97CEMR4gUmy+/vATQK5xgI8Z5fGTLW+/CpDtGTSkWRBtBjn0KKgjvHvhDrKht 03+Q== ARC-Message-Signature: i=1; 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:dkim-signature; bh=aFz6qdyIiGrIGX0NaG1dtVnBcc9Bi+e41I0J7Qpd3jM=; fh=ibyscMAPMFpfNHJYuWnnuETgKMMfBYmmfP3jT6Dz7k4=; b=mUg5KD0elJsOR6OjNu7q6Cog4MaZc8AXae78/v+xY6sXgOfLMN8CB7uN72QLs/OKwE sHLWbeUsn057NezB0N3mGW+jJGaZ4mMOK5kXUkdXWEJgJwCA3H92kSFdlnAHSuZPuzeB iRR1dvPTHaeK638xO9W3YsmlXK8xA7arPifAMS4dQXBR5zmOXJ+RDQ3YmtVyNoI6RqGk 2IkVvAbq2EbKUGBx28uXfxo5nRy7Qc1hfDbCRpDj6BTmsByucCLld9cRZVpTTTln6Le1 HCGgVcayUPgiSL+pUauZJLcmsgD8ZO0LSjq6kI9h+dMw6TCwIsdvDzVndHezMW4PfxEc 93vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=BAvMC7go; spf=pass (google.com: domain of linux-kernel+bounces-9395-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9395-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n11-20020a05622a040b00b004277e25d50asi3642686qtx.661.2023.12.21.22.19.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 22:19:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9395-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=BAvMC7go; spf=pass (google.com: domain of linux-kernel+bounces-9395-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9395-ouuuleilei=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 495471C234FE for ; Fri, 22 Dec 2023 06:19:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4B3BC127; Fri, 22 Dec 2023 06:19:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="BAvMC7go" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 22CDA9471; Fri, 22 Dec 2023 06:19:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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=aFz6qdyIiGrIGX0NaG1dtVnBcc9Bi+e41I0J7Qpd3jM=; b=BAvMC7goP5Qnu9QHmcq4C6q1op EsvaziioMphl2W207S1/iCsD3YKtgcjPqTRUXOWjwxKtkkSeyQuv3tGVTXN+TWL4mnoaeUSfPyJWS mcgIpmCzH/cAdiIuF8AHmvRXZQT6p5919JFBl41YzRarnSSDgwCd6hasnkn7fDd022reZwkiSQlLY YSbFNFHO6gXA9BoEbT4dA0k2ypfY9VBDV8Y2rw4Flf/XNJ8ouLK5jW5G7x6qB8BmP986ZSvv4eNrY tOKRjFhmJlkynO8Gmx6vBa948NrVor2hoWr4ek4P4Ue3ZmPVBrr0qs2GfihWYEoho2tF+dpEstKWo Izk1SlFg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGYsO-0053dS-2z; Fri, 22 Dec 2023 06:19:16 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , linux-integrity@vger.kernel.org Subject: [PATCH] tpm: cr50: fix kernel-doc warning and spelling Date: Thu, 21 Dec 2023 22:19:16 -0800 Message-ID: <20231222061916.9552-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 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: 1785961893270661006 X-GMAIL-MSGID: 1785961893270661006 Fix kernel-doc notation to prevent a warning: tpm_tis_i2c_cr50.c:681: warning: Excess function parameter 'id' description in 'tpm_cr50_i2c_probe' and fix a spelling error reported by codespell. Signed-off-by: Randy Dunlap Cc: Peter Huewe Cc: Jarkko Sakkinen Cc: Jason Gunthorpe Cc: linux-integrity@vger.kernel.org Reviewed-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_tis_i2c_cr50.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 @@ -235,7 +235,7 @@ out: * @len: Number of bytes to write. * * The provided address is prepended to the data in 'buffer', the - * cobined address+data is sent to the TPM, then wait for TPM to + * combined address+data is sent to the TPM, then wait for TPM to * indicate it is done writing. * * Return: @@ -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.