Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753138AbdLHRG2 (ORCPT ); Fri, 8 Dec 2017 12:06:28 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:37313 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753043AbdLHRGV (ORCPT ); Fri, 8 Dec 2017 12:06:21 -0500 X-Google-Smtp-Source: AGs4zMZ8m7XJ3JlBHcOWi8KIq+lyzifd0l5QO/Skb7nha0tjydc+x0+Ps7Tw0rZ27jlggZdijLz6RgvvOHN/ElglYZ0= MIME-Version: 1.0 In-Reply-To: <1512750553-15467-1-git-send-email-gomonovych@gmail.com> References: <1512750553-15467-1-git-send-email-gomonovych@gmail.com> From: "Rafael J. Wysocki" Date: Fri, 8 Dec 2017 18:06:19 +0100 X-Google-Sender-Auth: nGiHm0b1jVN4XRDNCknKP303IZs Message-ID: Subject: Re: [PATCH] ACPICA: Fix indentation To: Vasyl Gomonovych Cc: Robert Moore , Lv , Rafael Wysocki , Len Brown , ACPI Devel Maling List , "devel@acpica.org" , Linux Kernel Mailing List , "Schmauss, Erik" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 30 On Fri, Dec 8, 2017 at 5:29 PM, Vasyl Gomonovych wrote: > This patch avoids that smatch reports the following: > drivers/acpi/acpica/exdump.c:623 acpi_ex_dump_operand() warn: inconsistent indenting > > Signed-off-by: Vasyl Gomonovych This is ACPICA code, so changes like this should go in via the upstream. Erik may want to pick this up, however. > --- > drivers/acpi/acpica/exdump.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/acpi/acpica/exdump.c b/drivers/acpi/acpica/exdump.c > index 83398dc..f43d3d7 100644 > --- a/drivers/acpi/acpica/exdump.c > +++ b/drivers/acpi/acpica/exdump.c > @@ -619,8 +619,8 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth) > > ACPI_FUNCTION_NAME(ex_dump_operand) > > - /* Check if debug output enabled */ > - if (!ACPI_IS_DEBUG_ENABLED(ACPI_LV_EXEC, _COMPONENT)) { > + /* Check if debug output enabled */ > + if (!ACPI_IS_DEBUG_ENABLED(ACPI_LV_EXEC, _COMPONENT)) { > return; > } > > --