Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp258925lqp; Wed, 12 Jun 2024 00:02:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZnDXTeFuC+qm9ON2nFv98DNe7eiBXwfdGTFV8qRiiIgASb3Y76PTG3mv4lROTHOR0odvtNktJavC8NjD1x3AhPEI919Eunvi0d2z9Xw== X-Google-Smtp-Source: AGHT+IF7n0aq8vJDXCAHlnbqoPYWTsxzm9howsGbPaJhu7k1MrMpkBLerqWnL/hfbiAYK8cesM72 X-Received: by 2002:a05:6a20:6a25:b0:1b3:fa57:647f with SMTP id adf61e73a8af0-1b8a9bd2598mr1337941637.31.1718175746458; Wed, 12 Jun 2024 00:02:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718175746; cv=pass; d=google.com; s=arc-20160816; b=IMcNv7eS84J2dHsTfUwZZESled+lsw01hgxPFzGwFdTOG/opTuKtOQ4oV0L/OAvP+8 QxfBYRZuM1+0LguwBdxIjPsSp0+KS1Qn6dteS7z/IC6gTQ5X44SDR1Kbo/0/1b3EA8OJ JTIzgxjJZwyM0KYbc3PHwTzrS9eKzpeX9aUW38yCViczi3GZrShASAzWIkgWZAwf4GWl NIscQkVk9hIcC0gAUHlQZBWjZZLzRC8NULC2wOapik9F2gGuHCqLr4YU9V25yEFXXptO 797w3qpZ8ag2h2Ak1F/S77cenCVYl8guCO9/ALokPpjCOG4HFwAhW78QjuJQoHByKfgA vhQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m476/QwtR7AZZRBlK/eycu9+qurD2jPoH/3USIZg6iw=; fh=jSrvXaDzsxBLw8KcSaxVm0Orn2QEeNIl1/AiFf0/KFA=; b=EgcnL91h6aku03QHqif4UzhR/fmYCi2oXI26rM39nTgRyo/V9KWRTczX6kENxTUPIN Jjq/eiH75HP6nQ/c3WaLcEVLUZsFe/p93ZVHEsdsMxT9IsuEnoeyhfjoyGtzZRkmBRxG Ilm9+JQ/GfI3arxvIwXFY5mEIz1zU13lv7R/4yhK5KOnelXfqaNq/ZCjbfIixAthiIlv c8J1H3vo+wpwQWmKVrQIrRsLO2h/ymld7CX5PObzmY+csJdpYT7NfYWrztxA4g6/2td0 nEavRq7xY18B4vPjxQPqTd/QLOvJyV9Z0YW0gymwhn5sc9UlYHYasVCo5fcESl2sITXp LobQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=icYHwowA; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-7043b2a29c0si5602674b3a.166.2024.06.12.00.02.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:02:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=icYHwowA; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-211018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1C529B246A7 for ; Wed, 12 Jun 2024 06:58:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CD98161337; Wed, 12 Jun 2024 06:57:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="icYHwowA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1485D16C434; Wed, 12 Jun 2024 06:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718175440; cv=none; b=OMbueUohZGsX3FaJlpV5wnH7Ph3GshKjfWrWk7+GjXl1UzUU9MPFZZnALEsb4u9grkD5nhxiXAGA79079Sj6A402l3/oElH9oHSrrioREpcl6vBj2VxWYyvK7hWipk4Ru3Qh6RgCP2lZWj5W/aRbsXKFazyj6xhuBpFH+y621w0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718175440; c=relaxed/simple; bh=8Z3l3Of9FpQAmG0oeNwXwxLpixI9OgoDOg2PS9Qq8p8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YInk7PFvzVdOLhGO0r9NMTKWt/30c4FxhoaRvx6xmFPPt2qy/GVxlEZoZB3iu/eKVCl2o4apKSGxvP4DeWonJHdiXb/rV+THE2JsJx/0dOvetWYc6C6sbfIhpCKw1s+/VibYZuABbbevfEA3sYty2Qm6JydxuP3IGbroY0h1Ylc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=icYHwowA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 375F0C3277B; Wed, 12 Jun 2024 06:57:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718175439; bh=8Z3l3Of9FpQAmG0oeNwXwxLpixI9OgoDOg2PS9Qq8p8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=icYHwowAi96pGgeE5tFwnZSFIoGxzEyC/hEwobaYnjJ41eKRkl6dSXz0PBOzuRS8X NPZimc/qGJJ6eH5WK/qyLdDlfxIPd7cKsvxugsucVywOCZFIeOHzUUKDKmEZROzeCQ gVxj6SnOD8S5rSgDHbontu/dD+KjKRD5pYshszB8= Date: Wed, 12 Jun 2024 08:57:16 +0200 From: Greg Kroah-Hartman To: Teddy Engel Cc: Philipp Hortmann , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: vt6656: Fix checkpatch unnecessary parentheses Message-ID: <2024061235-zoning-recite-dd20@gregkh> References: <20240611152256.24563-1-engel.teddy@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240611152256.24563-1-engel.teddy@gmail.com> On Tue, Jun 11, 2024 at 04:22:56PM +0100, Teddy Engel wrote: > Remove unnecessary parentheses - according to checkpatch.pl strict > > Signed-off-by: Teddy Engel > --- > drivers/staging/vt6656/TODO | 2 +- > drivers/staging/vt6656/baseband.c | 8 ++++---- > drivers/staging/vt6656/main_usb.c | 4 ++-- > drivers/staging/vt6656/usbpipe.c | 8 ++++---- > 4 files changed, 11 insertions(+), 11 deletions(-) > > diff --git a/drivers/staging/vt6656/TODO b/drivers/staging/vt6656/TODO > index e154b2f3b247..507b7aec9f14 100644 > --- a/drivers/staging/vt6656/TODO > +++ b/drivers/staging/vt6656/TODO > @@ -11,7 +11,7 @@ TODO: > - switch to use LIB80211 > - switch to use MAC80211 > - use kernel coding style > -- checkpatch.pl fixes > +- checkpatch.pl fixes -- done When fixing something, you can just remove the line. > - sparse fixes > - integrate with drivers/net/wireless > > diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c > index ad7b963f0d98..c981fc75a030 100644 > --- a/drivers/staging/vt6656/baseband.c > +++ b/drivers/staging/vt6656/baseband.c > @@ -230,8 +230,8 @@ int vnt_vt3184_init(struct vnt_private *priv) > > dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type); > > - if ((priv->rf_type == RF_AL2230) || > - (priv->rf_type == RF_AL2230S)) { > + if (priv->rf_type == RF_AL2230 || > + priv->rf_type == RF_AL2230S) { Sorry, but no, please see the mailing list archives as to why I keep rejecting these kinds of patches. checkpatch is wrong here. greg k-h