From patchwork Tue Sep 12 17:02:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Justin M. Forbes" X-Patchwork-Id: 138514 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp778980vqx; Tue, 12 Sep 2023 18:04:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJEVKU8PYqHkH3U3kD9dwhuBh3DIMH2nBcrG+bvidqa7C/Zy/icaVEuv6yv1Pbg0PY6xTT X-Received: by 2002:a05:6a00:c8b:b0:68f:f741:5799 with SMTP id a11-20020a056a000c8b00b0068ff7415799mr1532707pfv.19.1694567093737; Tue, 12 Sep 2023 18:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694567093; cv=none; d=google.com; s=arc-20160816; b=rn6ZLtrnkE9PHqsxJBhO5Kc7xk2kNXxPawY2ZiJbtraDYuh2hsBOWd8RpM+e/CDxVj V202/ujqmzT3RSwm/UfUNNa2R8WncK+Ef4AkOHBBAN94Fgl7Gs0gtneP0zstIIChAx9P rWZyE3S9f1ugyJUXu0bTqSwXtxQ/KTietiwR0iEK79U43iWQ49ZFziX46CmFVilPFGHM VXd6+myY+LLti7LwCikqjzD6cGM4DUyGizV2wBUYfuDQPq+Q4IXoLYYZGHeChJUqgwRx QwOR6HEznIsMJh7xH4Q99kFHPOzZ+GfY3iDJqLCiYuov6td35dB0hByANukUU83uqmiG 52TQ== 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:sender:dkim-signature; bh=vyG3UChShGVJO9DWooQ063oFbpwzovAkingO0YTtxfI=; fh=Wkx8Zll86prUJL0X0MgqHb9aIioRc3hUwKfvLRfz3kM=; b=dqPyGbuiiKqjZygOfxKBaUEAlc0djPzprNlOd03dVFlFk2fD8coaYgr4g4iVhJCKUh fFdzyZmg0F7qvH9UiOTWAi0sWCihdWkeA5P9b1HyCFu2OYoigrHnVJ7ABxlkuUP0XAY1 VQfFRA+08Pvw1gytorNK6rIwxh0vN1c1NVYQ6Sh6rQlDOOF3a/h9HArNb7IsvINLTSWA 5yE7vrkmiYK8LED9ogAjpgDLYBO9wdYyZhCoL8lQfqm45aFPEMQPsBP7auLDeRp1L4Td vycpwO/Jk9RQMqKYlY+CpcGE0FxL3mvkihEo+SkSD9pPxxifosEO7lYmiM5w36XlVTwE 3zAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxtx.org header.s=google header.b=OJXnNQq2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fedoraproject.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bv14-20020a056a00414e00b0068fe021d777si2773494pfb.4.2023.09.12.18.04.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 18:04:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxtx.org header.s=google header.b=OJXnNQq2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fedoraproject.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id BE6BC8211407; Tue, 12 Sep 2023 10:03:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232964AbjILRDP (ORCPT + 37 others); Tue, 12 Sep 2023 13:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbjILRDN (ORCPT ); Tue, 12 Sep 2023 13:03:13 -0400 Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B484110 for ; Tue, 12 Sep 2023 10:03:10 -0700 (PDT) Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-5733aa10291so3780715eaf.3 for ; Tue, 12 Sep 2023 10:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxtx.org; s=google; t=1694538189; x=1695142989; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=vyG3UChShGVJO9DWooQ063oFbpwzovAkingO0YTtxfI=; b=OJXnNQq22ImboOsDZQKoqNBtfuBtRO5jz6p5gOZZzg8WWf6s8QNlX/gAKI/kdSQ3Px 29PDoHqWCZxncz44rOz6to9FRHZEaTtD9GD6OUnvFqzgTQyZtCBVvmKrzERgC94AmQIe I3Jnjglo670ivj2EuR20knFhsfvTLFRG1WFw8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694538189; x=1695142989; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vyG3UChShGVJO9DWooQ063oFbpwzovAkingO0YTtxfI=; b=CxB7gHly398a7wwqEEbOKSLv7dOmP+fnyIgfdl8qdBPzHVqtDFDWK/lgJLDrOkJ1hK PgiIdF79YCwidpvMinWVOjnbZfyF4UmO30ql6FB8IKOvRf16bkI9V/CJvTYJQurAnKeu WdW5vNmsjXbFiuevVtL5IhR+ciInulVnTJGBjwvqJX3gBydDI68qYc6ILaQeEukkPJNm mU0bhC/NNHuFL0h3zr/r5Mb+uWkmjWZk9vVr4LHau2eDS4moplFeVzJ4172KKSlFyhzP U0+gmy69P33NZdk9POvb1LrY3nq1LClMXx9nYobAcaOfwhLC94hwJa+3FEt6cVXalpNr kerw== X-Gm-Message-State: AOJu0Yxsn8mNQ5mToM4sV5t3qNetTsc02aYFtRexf2Q9R2leDJej95G9 fNJR7m6Xp4JWJMctvsqwcSyJ5A== X-Received: by 2002:a4a:91de:0:b0:576:8c2c:c865 with SMTP id e30-20020a4a91de000000b005768c2cc865mr216156ooh.8.1694538189434; Tue, 12 Sep 2023 10:03:09 -0700 (PDT) Received: from fedora64.linuxtx.org ([99.47.93.78]) by smtp.gmail.com with ESMTPSA id r62-20020a4a4e41000000b005707f68f78bsm4453817ooa.18.2023.09.12.10.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:03:09 -0700 (PDT) Sender: Justin Forbes From: "Justin M. Forbes" To: Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Greg Kroah-Hartman , Ivan Orlov , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Justin M. Forbes" Subject: [PATCH v2] tpm: Fix typo in tpmrm class definition Date: Tue, 12 Sep 2023 12:02:47 -0500 Message-ID: <20230912170248.11007-1-jforbes@fedoraproject.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 10:03:24 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776854687199029692 X-GMAIL-MSGID: 1776882384781748241 Commit d2e8071bed0be ("tpm: make all 'class' structures const") unfortunately had a typo for the name on tpmrm. Fixes: d2e8071bed0b ("tpm: make all 'class' structures const") Signed-off-by: Justin M. Forbes --- drivers/char/tpm/tpm-chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c index 23f6f2eda84c..42b1062e33cd 100644 --- a/drivers/char/tpm/tpm-chip.c +++ b/drivers/char/tpm/tpm-chip.c @@ -33,7 +33,7 @@ const struct class tpm_class = { .shutdown_pre = tpm_class_shutdown, }; const struct class tpmrm_class = { - .name = "tmprm", + .name = "tpmrm", }; dev_t tpm_devt;