From patchwork Thu Apr 29 19:21:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Boeckel X-Patchwork-Id: 12231855 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6964FC43461 for ; Thu, 29 Apr 2021 19:23:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FEDB6142A for ; Thu, 29 Apr 2021 19:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbhD2TXq (ORCPT ); Thu, 29 Apr 2021 15:23:46 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:39661 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235573AbhD2TWu (ORCPT ); Thu, 29 Apr 2021 15:22:50 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2BBC65C0093; Thu, 29 Apr 2021 15:22:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 29 Apr 2021 15:22:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benboeckel.net; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=wPWSE6YsU7+OxY2Ql0tz4qGnr1 C7tgpgSds6zQk9ug4=; b=EBBzdTgdzhRUTOCqVknvSxRhCjjKOmbLieusbsEFqB 6CnIXN8Y6qyrBVM2fOW/LrGpNQf4yYfsF4VZwsTVT09veFCvV8/iQduShP5OEh0y mpU1ljo9a+uqRk8k2bXhehfuFymE9VtdmokeThR4pkFUmMfZKpZtH3aRoYAkvgTu 0DSS9WORrs3jPOe1v2sAW3vJWGXcbNjEst443cGt075VAl2pPtTi4wRf6/Fyc0Bx grzMZZYf04RCs884OwX+RtvPQxV5AP9d5b0/ahrhpZKhYJ1j9eJD3mUJCoEzS1K/ caDwCIZQ2aewNSRUuBnE1aUfFeF1m2NyHSeROsZBWoag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=wPWSE6YsU7+OxY2Ql 0tz4qGnr1C7tgpgSds6zQk9ug4=; b=uEy1u13oUBeIZrTo6rqM8vsDqUcgGLwhk NqTN+jXQrl7rZ/1EpCI9bsC4FS9gFcQIxw7P+f3jWWzxMYdV6+dAvw/9CVN8F1bd a1jpZBcwr2KJfepr9uNjOe0q+Fphxd9wgEa2vbvNn58k7+ujNPSME6FAlLybp7oE bWl8wPNPggX02nvwFIFuQ6kzymEq9I2iJlFMvgd9aZsBXPt50OAHJ6dsIIxXj8YV XyIPZ24Xx7CRlzof/VdgukYBeSKP5t7cCNNz1ZwkAaRtXO7Y5eYrk66N1nN3cFcF XeQH0S2Ek23H34Hh8agp2Sff2OcM4UH4oTTGVkeMm30suOCNhsavQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvgedgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepuegvnhcuueho vggtkhgvlhcuoehmvgessggvnhgsohgvtghkvghlrdhnvghtqeenucggtffrrghtthgvrh hnpedttedvgedvtedugeeikeejfeetueekfefhueeugfekheegjeeuffegfeffgefgueen ucfkphepvdegrdduieelrddvtddrvdehheenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmvgessggvnhgsohgvtghkvghlrdhnvght X-ME-Proxy: Received: from localhost (unknown [24.169.20.255]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Apr 2021 15:22:02 -0400 (EDT) From: Ben Boeckel To: keyrings@vger.kernel.org Cc: Ben Boeckel , James Bottomley , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [PATCH v2 0/1] trusted-keys: match tpm_get_ops on all return paths Date: Thu, 29 Apr 2021 15:21:55 -0400 Message-Id: <20210429192156.770145-1-list.lkml.keyrings@me.benboeckel.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: From: Ben Boeckel Bug report thread Message-Id: --- v1 -> v2: - simplify the return path since we're at the end of the function anyways Ben Boeckel (1): trusted-keys: match tpm_get_ops on all return paths security/keys/trusted-keys/trusted_tpm2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) base-commit: 3644286f6cbcea86f6fa4d308e7ac06bf2a3715a