From patchwork Fri Apr 14 13:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 83414 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp404244vqo; Fri, 14 Apr 2023 07:02:09 -0700 (PDT) X-Google-Smtp-Source: AKy350YkrDWEwKCjYF6+CFHBHNe+CPCMyQ85NSlUFU/RTSzvipTNH2u9D5Dg2aPotfqBt3c5dq8U X-Received: by 2002:a05:6a00:181d:b0:622:ec07:c6bc with SMTP id y29-20020a056a00181d00b00622ec07c6bcmr8787518pfa.15.1681480928816; Fri, 14 Apr 2023 07:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681480928; cv=none; d=google.com; s=arc-20160816; b=hYH1vmxeHQhosGcNRqqPDACQ5rq65GjnqBjSIG/9NzcYyX6Crpim12d8vMIfRiI2Aq R6YUN7QEOhcZN2t1neeDaAzIomCuBRotrSvlv93lXQTfyRr8ZbTbqaaR97pSpylaajC9 gg7JJrhGgz8hkAZO8RoPTBSep0YMWsJZNCuQSQuDQBD2sokXG2FN1Nc6bADWnejVAsCo waQqJJOYGvYpJ81nLIQjTPvAj6BOiBUJnnghLq7Bloy5EiFZnr8z538Zm5kZf241xh2d fw07XMU9cIUD2i3Yd4eyJVU3PHbCHaHpUaHo/sbXBXQoY6PG/gv/Dgnaq0St5cO9hMlO S3jQ== 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; bh=LnXbk4wTGOKatExsXtTfeDC+mZEsqbUpzxbmktkwlBs=; b=kDQNhV5lgo+T/WTQxZ8KdpvOt2kdqpa9PoKbO9R6HL99yVcOAa07Ns9zGzphWGqqMH eh7Is3RlVLrNJnmuMjISNWQOd7+h855lNCEnXVkAzeiKiAQ4eFJmi93c7sCtn+V/ILAl 440Jw1ldTwEh54mFDmvMIim2JCuMsZMAXa+hOfHXXo6dgrUgXn9yGAy4UZEuN1dhQsKY QCH6XobKdNMTIh0VPYNcZwphtDY94EOLiKZKO6dcdllPE54kfjgde7F7F7UNyKZeJi0q lay5iS3SdBy1+HgQMKTd5qSzWlxoS3QMb+lVjRYcljRogSuKUbZO+6TxgiKNe9c0TnFq AukA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i129-20020a626d87000000b006391322d3f8si4209945pfc.375.2023.04.14.07.01.49; Fri, 14 Apr 2023 07:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbjDNOAC (ORCPT + 99 others); Fri, 14 Apr 2023 10:00:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjDNN76 (ORCPT ); Fri, 14 Apr 2023 09:59:58 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C43E9180; Fri, 14 Apr 2023 06:59:56 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.1.0) id b3cb597020401824; Fri, 14 Apr 2023 15:59:53 +0200 Received: from kreacher.localnet (unknown [213.134.188.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id DA29681B369; Fri, 14 Apr 2023 15:59:52 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML Subject: [PATCH v1] ACPI: bus: Add missing braces to acpi_sb_notify() Date: Fri, 14 Apr 2023 15:59:52 +0200 Message-ID: <2700142.mvXUDI8C0e@kreacher> MIME-Version: 1.0 X-CLIENT-IP: 213.134.188.177 X-CLIENT-HOSTNAME: 213.134.188.177 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeltddgjedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepffffffekgfehheffleetieevfeefvefhleetjedvvdeijeejledvieehueevueffnecukfhppedvudefrddufeegrddukeekrddujeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudekkedrudejjedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepvddprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=2 Fuz1=2 Fuz2=2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763160546648538559?= X-GMAIL-MSGID: =?utf-8?q?1763160546648538559?= From: Rafael J. Wysocki Subject: As per the kernel coding style. No functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-pm/drivers/acpi/bus.c =================================================================== --- linux-pm.orig/drivers/acpi/bus.c +++ linux-pm/drivers/acpi/bus.c @@ -624,8 +624,9 @@ static void acpi_sb_notify(acpi_handle h if (event == ACPI_SB_NOTIFY_SHUTDOWN_REQUEST) { if (!work_busy(&acpi_sb_work)) schedule_work(&acpi_sb_work); - } else + } else { pr_warn("event %x is not supported by \\_SB device\n", event); + } } static int __init acpi_setup_sb_notify_handler(void)