From patchwork Mon Mar 1 21:24:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Sakkinen X-Patchwork-Id: 12110623 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=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,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 BE669C433E9 for ; Mon, 1 Mar 2021 21:29:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6B9C660233 for ; Mon, 1 Mar 2021 21:29:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237937AbhCAV2y (ORCPT ); Mon, 1 Mar 2021 16:28:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:44472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244711AbhCAVZU (ORCPT ); Mon, 1 Mar 2021 16:25:20 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7EFA3600CC; Mon, 1 Mar 2021 21:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614633879; bh=IgG13ZIsyOmXOaKZjEr30Gu7JPyOgI1kvu1wqvxD0KM=; h=From:To:Cc:Subject:Date:From; b=Zh6T9kuiJc1kSpaBaWjmXey0awjhxa7vfvun8yLO5hZLIB6A7K/hwjhCaJHD7WFwF I8fvUvMWfSQfxXtSnk175+F9I/hCDb26EjPa1naQvPorZ5xCuDtrjmQZaudF8+dgkn BBaHy2FkYjYYjaaWJFqPcCx9xLoWojBdc1RVTMxhths7eXmirmdXqV8XTIaJkRwfcx Mgp5E5NeeJg3QZwoUH1imW1hl6maVgpVzsrMoHN7v08zBRLFpZoqcI3m3EmVVEqEXd 43+84zyqzM83vFVQsVuInzlZwuevTIQQFTBWryHKWt6w79vVxbZmkp+p7decZ5IE5E s6HkR0uh+bFlg== From: Jarkko Sakkinen To: linux-integrity@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Jarkko Sakkinen , Rikard Falkeborn , Peter Huewe , Jason Gunthorpe Subject: [PATCH] tpm: Remove unintentional dump_stack() call Date: Mon, 1 Mar 2021 23:24:16 +0200 Message-Id: <20210301212417.48774-1-jarkko@kernel.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org Somewhere along the line, probably during a rebase, an unintentional dump_stack() got included. Revert this change. Reported-by: Rikard Falkeborn Fixes: 90cba8d20f8b ("tpm/ppi: Constify static struct attribute_group") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c index 19e23fcc6bc8..ddaeceb7e109 100644 --- a/drivers/char/tpm/tpm-chip.c +++ b/drivers/char/tpm/tpm-chip.c @@ -278,8 +278,6 @@ static void tpm_devs_release(struct device *dev) { struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); - dump_stack(); - /* release the master device reference */ put_device(&chip->dev); }