Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2761073pxj; Mon, 10 May 2021 10:08:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6BcXliQ0hny8EjOI8Xt6hWqUna2rfXlChM0lN+CwFrpC3rv1oCwBFWlcGA8Z8rugzu68d X-Received: by 2002:a02:9663:: with SMTP id c90mr22233697jai.76.1620666481537; Mon, 10 May 2021 10:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620666481; cv=none; d=google.com; s=arc-20160816; b=rlt9TlnF2XfIsbi7yg41wIcVUlKOlIVe/G8d+e6jB2UmZW5/T16Gkqs2xiUfNBGYCN Cu4yFEVZjs7t6mDLouih605hPtFUPUTFssy0VXFJI0BMoFyeQtDRxWtblKF31KeKZHeB 7tXsmy3A0y470HRGFtHHX6mGmO5oz/PlBFmKRTojgB/yaUpNd5mNocd0rhjxAXphVR+P KzYn6TrNtQjV+lZvvdah8m3fSNb3ayH8sfHgtvwzRcthNTJgGtROVNK2ydGOVJAvAVQ1 k6z2wmFW9TePYNWoUq0pjO8b92N9u9Jrdkeo3q0S/MaAT6Y5PsxGTy7MnC7loc/m6Upa mO7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=h9Y41nhmPOPBNqykP2dYU1c45pvJNiEXKTzaxOZu5Kw=; b=SwBEDXLYvYajzEl1X3hxbhdmAo6W5C3RwaLobHl80Hj094ddBKGxoLLkHYFPhR/XZr 2qJb8HNLR/PUUTN9ZuT6Ujm7liXXG2S3rti6f8ry0KHDoudXW6JTq+zSMHYFz0ovcavJ KfhJr2j7wDRKJdJhQg9NeGexImqOXZC4d6yfk9mMcpoQ7f894iCZR4TpCRM7UzLcOCEm 6KU629CNu4yHZmCJdhJhjvwdxjJU2Dg498JimhiT72MkbYMuKq06YikpuvoYDc46y9+s m03SPsqNvok43Voc1w4sdtP2CXR1cmBO2SIjVdOUGI0k/pmBIDNJ7eGxlMt5/xGwiC49 HVJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p11si16387872ile.154.2021.05.10.10.07.47; Mon, 10 May 2021 10:08:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231984AbhEJRH0 (ORCPT + 99 others); Mon, 10 May 2021 13:07:26 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]:40737 "EHLO mail-ot1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231190AbhEJRHR (ORCPT ); Mon, 10 May 2021 13:07:17 -0400 Received: by mail-ot1-f43.google.com with SMTP id t4-20020a05683014c4b02902ed26dd7a60so4916699otq.7; Mon, 10 May 2021 10:06:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h9Y41nhmPOPBNqykP2dYU1c45pvJNiEXKTzaxOZu5Kw=; b=ch/ZgthLF01epyu3TNz7zZLNEwMdbhRUk313+H+SIxklWVGNdQsJGvnnsF++1FC6lQ /tXEkgItGKQ2rDYxVKPvDAx8w4wWjCvFoBuJaXRY9b7zGqry+GXLSbhQgDjGPgE9L8rV aKepmf1feGCi7hTAkwFwAxz44NOnygzl2Ib/iNUbZmx0Tw9+01jPiLMQ8oh+0aDvtd85 oKY5VNCspUOYExK2L3G4jKfRmRgDEKmAAg/1iEgEnFaPdRV7ylc4QQaw/C0Z56NDP3Ks nRLYyjcUyz9kTfAcazCxGwoDVciT9d6dUT08RFhE35J3mDvHKBVZT+/wKF42UX0Jui1d t+nA== X-Gm-Message-State: AOAM531octmHWu0cDaRACBMrrbl+5mtRcl6fPc4ugVEqP3h9YYvvLBfT QcG8rlHJTTs4vrh97iNVRBta2bq9gu6EkgmpK9s= X-Received: by 2002:a9d:5a7:: with SMTP id 36mr22420958otd.321.1620666372712; Mon, 10 May 2021 10:06:12 -0700 (PDT) MIME-Version: 1.0 References: <20210506124912.7725-1-jj251510319013@gmail.com> In-Reply-To: <20210506124912.7725-1-jj251510319013@gmail.com> From: "Rafael J. Wysocki" Date: Mon, 10 May 2021 19:06:01 +0200 Message-ID: Subject: Re: [PATCH] ACPICA: Use fallthrough pseudo-keyword To: Wei Ming Chen Cc: Linux Kernel Mailing List , ACPI Devel Maling List , "open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" , Erik Kaneda , Robert Moore Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 6, 2021 at 2:49 PM Wei Ming Chen wrote: > > Replace /* FALLTHROUGH */ comment with pseudo-keyword macro fallthrough[1] > > [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through > > Signed-off-by: Wei Ming Chen > --- > drivers/acpi/acpica/utprint.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/acpica/utprint.c b/drivers/acpi/acpica/utprint.c > index e37d612e8db5..0b511434b80b 100644 > --- a/drivers/acpi/acpica/utprint.c > +++ b/drivers/acpi/acpica/utprint.c > @@ -475,7 +475,7 @@ int vsnprintf(char *string, acpi_size size, const char *format, va_list args) > case 'X': > > type |= ACPI_FORMAT_UPPER; > - /* FALLTHROUGH */ > + fallthrough; > > case 'x': > > -- This is ACPICA material, so I'm leaving it to Erik and Bob. Thanks!