X86 platform drivers
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Chen Ni <nichen@iscas.ac.cn>
Cc: hmh@hmh.eng.br, Mark Pearson <mpearson-lenovo@squebb.ca>,
	 derekjohn.clark@gmail.com, Hans de Goede <hansg@kernel.org>,
	 ibm-acpi-devel@lists.sourceforge.net,
	platform-driver-x86@vger.kernel.org,
	 LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] platform/x86: thinkpad_acpi: Remove unneeded semicolon
Date: Thu, 15 Jan 2026 11:50:05 +0200 (EET)	[thread overview]
Message-ID: <19a1325c-692c-3d1e-2a1d-1fcf31fb1dcd@linux.intel.com> (raw)
In-Reply-To: <20260115081636.164041-1-nichen@iscas.ac.cn>

On Thu, 15 Jan 2026, Chen Ni wrote:

> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
> ---
>  drivers/platform/x86/lenovo/thinkpad_acpi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> index a272f27e6227..6b0e4b4c485e 100644
> --- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
> +++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> @@ -11164,7 +11164,7 @@ static bool display_damage(char *buf, int *count, char *type, unsigned int dmg_s
>  			break;
>  		default:
>  			pr_err("Unexpected value %d in switch statement\n", pos_status);
> -		};
> +		}
>  
>  		switch (panel_status) {
>  		case POS_LEFT:
> @@ -11179,7 +11179,7 @@ static bool display_damage(char *buf, int *count, char *type, unsigned int dmg_s
>  		default:
>  			*count += sysfs_emit_at(buf, *count, "Undefined\n");
>  			break;
> -		};
> +		}
>  		damage_detected = true;
>  	}
>  	return damage_detected;
> 

Thanks, I've folded this into the original change.

-- 
 i.


      reply	other threads:[~2026-01-15  9:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-15  8:16 [PATCH] platform/x86: thinkpad_acpi: Remove unneeded semicolon Chen Ni
2026-01-15  9:50 ` Ilpo Järvinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19a1325c-692c-3d1e-2a1d-1fcf31fb1dcd@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=derekjohn.clark@gmail.com \
    --cc=hansg@kernel.org \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=nichen@iscas.ac.cn \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox