Message ID | 20240213140441.8640-1-thorsten.blum@toblux.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-63638-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp611486dyb; Tue, 13 Feb 2024 07:26:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXGJKAZ7XJzY7l/GqoLndAHDMlM2txVqfvmPhc4wBPc4In91TWBLZLcwR5uwQmrwMGoPs8gnA2K/J11ggp02IdNJ5o04A== X-Google-Smtp-Source: AGHT+IGHPiBycy8Z6Ha2wUlIqcgiloNIioqL6j38u3VV32u+GtEa0xbXhr+hN4/oUXpmxl8N0uJr X-Received: by 2002:a17:906:aacc:b0:a3c:bad6:7685 with SMTP id kt12-20020a170906aacc00b00a3cbad67685mr3793045ejb.46.1707837973890; Tue, 13 Feb 2024 07:26:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707837973; cv=pass; d=google.com; s=arc-20160816; b=NwJSwDsO0zKDT57A15WpsMPKFpyG+w0exUVAsdHLPX8Bzlaah4aI66Be1VVjPzmffx QZjwN00gQs2DV3RooR9R/OhU5yPJsVHHFS92CIz55Z7IeBMo3lw3DkbRi8Q0OLRtcWYu gWB+/jCR+pku2zGJuASlKQl0x7NEMwAyDq1jtSFgX3st2T18FBQaH/7JPZcsxzhslSVH /6H9XgFjKmw5joBJ+3TEHK5//W0pn87kuLECCiadi+1qwway+4Zj9QYGr/XcaGBk4QcI VIwJV2KmDI69P8tMfS8dlheiadEsgaWhKmS9e4U2MRIWBIrdu/7vl7eik1dcNm6oHS3U yxnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=OznreBbGn8I8qErYNCh7MV7tKWfbq+5twYL5yapVuHA=; fh=qyR09Emx+l6sCpHQra3xX38Ya7tlgbUi3SpPyF0hHBc=; b=I2htg0ErCRLQXrVPch18NGW+PTiwr1C0+dOhH6XX3iHFJlQDFHyb84gD5HMgpnKulZ vFyVNw80cLGy2GUTNiZaB/rsD3i4sLzDg1Pfkr3WgMM4qpQteEEQY/0GOOnSvxcvW8av o81ntc2mrlV8S3OjfaP3+JLjqVtDCaFvIKNIWHDHFPdPaX73tQOsN2oUoXWlxemSfEcl yj7zxOaV1/qMxb1fUnskocrDPCXEE1iFDdpmzoxjdLejZT5znSXD8vIq7xYLLbpwT+Z/ CujyKgkP0uzNb1KaPqkXDsuQNiYZ/p6iuRX2mS9wkls98qZBM9igZ3OMyvTYHHumjPEw 09fg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toblux-com.20230601.gappssmtp.com header.s=20230601 header.b=YvFTgYPY; arc=pass (i=1 dkim=pass dkdomain=toblux-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-63638-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63638-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCX61ok40bqpz/RQIJqs5xi8kTemHcXZvyBpqd3eMfAclJhBt+DmEj+4z1tL5hoNEWFyNEvbviOxHDBEsSNm+sWeLtVUeA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id sh12-20020a1709076e8c00b00a3d276253e1si106360ejc.965.2024.02.13.07.26.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:26:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63638-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@toblux-com.20230601.gappssmtp.com header.s=20230601 header.b=YvFTgYPY; arc=pass (i=1 dkim=pass dkdomain=toblux-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-63638-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63638-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A79C21F273C1 for <ouuuleilei@gmail.com>; Tue, 13 Feb 2024 14:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89FA157876; Tue, 13 Feb 2024 14:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toblux-com.20230601.gappssmtp.com header.i=@toblux-com.20230601.gappssmtp.com header.b="YvFTgYPY" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A0A84C73 for <linux-kernel@vger.kernel.org>; Tue, 13 Feb 2024 14:07:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707833227; cv=none; b=Z1HywvavX6438GCR8uIArAJz9UlF1MKIkW9wGkKfAswroxkhVieHC9tKpAqhQjzqF5MJjcMWZvzU1Iykb3n3AsqiTJwyeJ8ViLov1bbQSXkL325vj2pg1cZT5dHhrATE+1Xba0tQUp8rvmJfqVE4boYsi3Yho/ILhqIjPV5Fe/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707833227; c=relaxed/simple; bh=+s/OfGNMXB58P7TxwiDwAEhQ+GBlUKjDVwC55toeJVc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fDIe8ugngclywUlsgicRKGJAUX4oQ8/pidOFYhGN52F2hvPX5u/jONJH6PzyzjAxJ9hobRInRxoySAihzFs1hEVmgA7W3nbtLz9to40xVRGTGmIsdLWs+NHshdKSpISPSkmDoaNBQ3nCd9ZGCyHuLKYMTgOcu8QE01QMDfNt9gE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toblux.com; spf=none smtp.mailfrom=toblux.com; dkim=pass (2048-bit key) header.d=toblux-com.20230601.gappssmtp.com header.i=@toblux-com.20230601.gappssmtp.com header.b=YvFTgYPY; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toblux.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=toblux.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-410db155e57so14596595e9.1 for <linux-kernel@vger.kernel.org>; Tue, 13 Feb 2024 06:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toblux-com.20230601.gappssmtp.com; s=20230601; t=1707833224; x=1708438024; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OznreBbGn8I8qErYNCh7MV7tKWfbq+5twYL5yapVuHA=; b=YvFTgYPYeSpNbdCxOjklcltk58yg2oZROYr/l5C+nIz2X8Hgu4B9aRRlvh6JTvQVqN hiYGFHSWtsqFITWZ0B0oUy43NTU6PZgoY6aO/DQdkjch48NbKDtUHqb0R90CI6N4uD8O Du/Ji6c0IoELV/VN/aRI4zWwvoiEvzoIfIixGgLDeo1+pqK+bLCN5KtOv7qGvdxuSQB8 Hg54V1Fzi/TFWW+9Uwa53OIAu1TGmsui8Fe8xRMykXCrZUTtUWglBoDInWYmcDFL5vhi 90eUObiU3HFzUciPhj3y2wuGTEJY50zVOypf0Eg0d6vJy9thB90VTDXJ+Hx3j7Ia6ZkS afOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707833224; x=1708438024; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OznreBbGn8I8qErYNCh7MV7tKWfbq+5twYL5yapVuHA=; b=aQDq7WmkM4v0/bkg/yewSu+xzWuJ7Vqs8Er84330uCG0cIzYrlssF0PE92mlB23h4N N735RC4LxTdgW+N4aoVRSDMIQUqbv5bdaU2v7JIHYXljSEgEdLaWZ3ycXCJ5E9TsnTuK G9xvPSjHKtv6poO5pycpxgQqLelYUMGPBkwaWhci3FpORtfp7rBhfe6joZn5YrBpyugv tlZ6vaGV2RguWjlJMB027AHcb8G3/MYIJSSrrs9i+JTAO7iaU+o/4AOmM1FNtURs0lPW XaEtLVekA73jfGMVRoIF//3S4OYR5cQ8J3fEFztIw650DMud7fu0xZAMu9lbrEtroD3M ccOg== X-Forwarded-Encrypted: i=1; AJvYcCUATQqNmr3vYbc8VNtiHndOJWTzEbYhvDtGsFJcG8nT95qbXd8p/iMHzjDAYaJCuPu8X2M4k/dBmdlXYJQGToMlEgjIrdliAXQQC2KZ X-Gm-Message-State: AOJu0YzCgz4lMZaJJQyy1a60M6LXK2ax4b7onwfv5v7wc+wYQQu85Epe MeStyCQSfo2GrUHD8WosO60ARTu2F7+qpMWkV3GNA/GgVFf7jYGHnLjxjWu7DiKb6p6TyyB/2gh Mgg/T+w== X-Received: by 2002:a05:600c:1c98:b0:410:1587:7c0 with SMTP id k24-20020a05600c1c9800b00410158707c0mr8585573wms.31.1707833224356; Tue, 13 Feb 2024 06:07:04 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXPlTlgcRhS132bjJpvP127vmj2lPugovqokaqg0rSgIYimGTm7LoF/kfRoriLQM2mmmzfw93YScwoshSD8YO0n/srrSuAnufpdYFdq55rAiqi2z8k4zctqQ++Z/VQxn8wANY36BXIaAxJlBh9Hzw3jtYQdFCD4k7D4KfmNY0M8czaEcVuZO8MT0H9F0AXQgR1sJTpc74Sxq5ZJhwOVvlm+ Received: from fedora.fritz.box (aftr-82-135-80-242.dynamic.mnet-online.de. [82.135.80.242]) by smtp.gmail.com with ESMTPSA id f13-20020a05600c154d00b0040fb783ad93sm11744683wmg.48.2024.02.13.06.07.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:07:02 -0800 (PST) From: Thorsten Blum <thorsten.blum@toblux.com> To: Nas Chung <nas.chung@chipsnmedia.com>, Jackson Lee <jackson.lee@chipsnmedia.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Blum <thorsten.blum@toblux.com> Subject: [PATCH] drivers: wave5: Remove unnecessary semicolons Date: Tue, 13 Feb 2024 15:04:41 +0100 Message-ID: <20240213140441.8640-1-thorsten.blum@toblux.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790797911017512057 X-GMAIL-MSGID: 1790797911017512057 |
Series |
drivers: wave5: Remove unnecessary semicolons
|
|
Commit Message
Thorsten Blum
Feb. 13, 2024, 2:04 p.m. UTC
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
drivers/media/platform/chips-media/wave5/wave5-hw.c | 2 +-
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
Hey Thorsten, Thanks for the patch, change looks obviously good, one small thing to note for the future, the commit title should start with: media: chips-media: wave5: instead of: drivers: wave5: I will change that myself this time, but please do a quick git log next time to check how the path should be formatted for the driver. Greetings, Sebastian On 13.02.2024 15:04, Thorsten Blum wrote: >Remove unnecessary semicolons reported by Coccinelle/coccicheck and the >semantic patch at scripts/coccinelle/misc/semicolon.cocci. > >Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> >--- > drivers/media/platform/chips-media/wave5/wave5-hw.c | 2 +- > drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/drivers/media/platform/chips-media/wave5/wave5-hw.c b/drivers/media/platform/chips-media/wave5/wave5-hw.c >index f1e022fb148e..2d82791f575e 100644 >--- a/drivers/media/platform/chips-media/wave5/wave5-hw.c >+++ b/drivers/media/platform/chips-media/wave5/wave5-hw.c >@@ -2315,7 +2315,7 @@ static bool wave5_vpu_enc_check_common_param_valid(struct vpu_instance *inst, > param->intra_refresh_mode); > return false; > } >- }; >+ } > return true; > > invalid_refresh_argument: >diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c b/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c >index f29cfa3af94a..8bbf9d10b467 100644 >--- a/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c >+++ b/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c >@@ -92,7 +92,7 @@ static int switch_state(struct vpu_instance *inst, enum vpu_instance_state state > break; > case VPU_INST_STATE_STOP: > break; >- }; >+ } > > dev_dbg(inst->dev->dev, "Switch state from %s to %s.\n", > state_to_str(inst->state), state_to_str(state)); >-- >2.43.0 > >
diff --git a/drivers/media/platform/chips-media/wave5/wave5-hw.c b/drivers/media/platform/chips-media/wave5/wave5-hw.c index f1e022fb148e..2d82791f575e 100644 --- a/drivers/media/platform/chips-media/wave5/wave5-hw.c +++ b/drivers/media/platform/chips-media/wave5/wave5-hw.c @@ -2315,7 +2315,7 @@ static bool wave5_vpu_enc_check_common_param_valid(struct vpu_instance *inst, param->intra_refresh_mode); return false; } - }; + } return true; invalid_refresh_argument: diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c b/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c index f29cfa3af94a..8bbf9d10b467 100644 --- a/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c +++ b/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c @@ -92,7 +92,7 @@ static int switch_state(struct vpu_instance *inst, enum vpu_instance_state state break; case VPU_INST_STATE_STOP: break; - }; + } dev_dbg(inst->dev->dev, "Switch state from %s to %s.\n", state_to_str(inst->state), state_to_str(state));