From patchwork Mon Dec 25 02:22:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 10132227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D5FFA6037D for ; Mon, 25 Dec 2017 02:23:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9422289EA for ; Mon, 25 Dec 2017 02:23:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC64828C8E; Mon, 25 Dec 2017 02:23:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61AF7289EA for ; Mon, 25 Dec 2017 02:23:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752031AbdLYCXD (ORCPT ); Sun, 24 Dec 2017 21:23:03 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:46745 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925AbdLYCW6 (ORCPT ); Sun, 24 Dec 2017 21:22:58 -0500 Received: by mail-wm0-f66.google.com with SMTP id r78so30699478wme.5 for ; Sun, 24 Dec 2017 18:22:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ndf+3ZqqkWVfM3dGNtS2esGbrbr+UNBsS1oVPVOfugs=; b=jS1+EfHQr9WtmYzuhhlfzHYiwiqiUJb4E+Y/6gRX2z+MUfkmkunBIQ5TqvLqSVeRJC 6vDxUYX2izX7yQ+TvLmWKvHZwy5wbWi+r7jNHRZkB+uC2/qM0H3ENeWK+azfw4hd+Fx4 BMPuKBthkIT7Xtb6vLu99979z5rBe4MNnenyl5TvFcthMr/OSb7jYp4/Ro1IGZlCOaPZ n8O9t00bgthuqUwdO0uqLjiqm9kePRKPv572MFXbCDOdWeXjRVDKddv4Q7YTLt97OVHD hzzG+DFK6LmT2OVGMJJy2p14ze0x6ZwM0B1IiAOO9akp3uZVqTGn+huj5hUFSIN/EebO RJvw== X-Gm-Message-State: AKGB3mLodWzI9Ge4iClNktq3FiupDftzsOk8fwJ8V6MTI+X7/LSu7jcK nTKzOZTyK8bEMzaaDc5f0FhxUQ== X-Google-Smtp-Source: ACJfBotA7AQ6mzk/HrkSTX8vF7vofqkx6ufMsQYu+8VXsgGpBZghuGiUhT4WK67B04/SEQSggjqydg== X-Received: by 10.28.105.14 with SMTP id e14mr16720279wmc.74.1514168577545; Sun, 24 Dec 2017 18:22:57 -0800 (PST) Received: from minerva.home ([90.77.100.34]) by smtp.gmail.com with ESMTPSA id v10sm7635011wra.15.2017.12.24.18.22.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Dec 2017 18:22:57 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: James Ettle , Hans de Goede , Azhar Shaikh , Javier Martinez Canillas , Jason Gunthorpe , linux-integrity@vger.kernel.org, Peter Huewe , Jarkko Sakkinen Subject: [PATCH v2 2/3] tpm: follow coding style for variable declaration in tpm_tis_core_init() Date: Mon, 25 Dec 2017 03:22:50 +0100 Message-Id: <20171225022251.6464-3-javierm@redhat.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171225022251.6464-1-javierm@redhat.com> References: <20171225022251.6464-1-javierm@redhat.com> Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The coding style says "use just one data declaration per line (no commas for multiple data declarations)" so follow this convention. Suggested-by: Jarkko Sakkinen Signed-off-by: Javier Martinez Canillas Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_tis_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c index f2bd99fa8352..03daf7017e0f 100644 --- a/drivers/char/tpm/tpm_tis_core.c +++ b/drivers/char/tpm/tpm_tis_core.c @@ -803,7 +803,9 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, const struct tpm_tis_phy_ops *phy_ops, acpi_handle acpi_dev_handle) { - u32 vendor, intfcaps, intmask; + u32 vendor; + u32 intfcaps; + u32 intmask; u8 rid; int rc, probe; struct tpm_chip *chip;