Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp822731rdd; Tue, 9 Jan 2024 23:56:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6F0MYNaWvpbMYCI7r1PNO4bC1aSKMdYImOJTAO6OgPM99p6SUNCdHfCVTBqULIVyPGIQm X-Received: by 2002:a05:620a:244f:b0:783:3891:ccc4 with SMTP id h15-20020a05620a244f00b007833891ccc4mr279975qkn.76.1704873400721; Tue, 09 Jan 2024 23:56:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704873400; cv=none; d=google.com; s=arc-20160816; b=GQ5ZAGMCoATSXRBYsqaEptfSWi4LY9mmaXh/1Gr0AOtWx/+01DJYN2sldE55z8mzmn WA5qGXiWBONObxxq7sdwu+BbmEe4vj5eg+A5Onk/NGfuuEKiqQ/9Xzu80QKNXl5x7Ap7 SwODv7AwFj+9hgUctOwo1/klDKMIRnea2I5ZfBCfl+JnZsd7yML4+uGEAuMBuP4YoQKz zwU3erCe2wNDKoV+HCy75EEaD83+vVIwTnHqB2QC810iICGcHSm+g+wOnX0betPLtUad 4j6XmiTG5fAK4HNtEkiPnsserL5yWxow5b6DFnlR5qdVS+kI+AXyLIWyfkKJ2zR0Pfin 7JXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ozsgV78QtWaa5DByhahm2PsgoXx1vXQSwE+6AXxoL/A=; fh=npBLbqdoLd2539vIAcrcCQ9Loq0rM+8TFPZj4eZ68d0=; b=Sz4xyKktKdeI3PRYG1G611BeEh5un2ka4j5cwkh+bysqMhfPNMQFgKOuE/hCPpSNbg KAXpvWih3xZ5K0U48B8j+tMZGu8IGN3LcmnZ1J8Ek/NIOm9Hdt6Ho11Rb8CKaKC98kgN f8VG0TRsbONgZzOAjejrq8NPLwxR5dDPIkAPbOj9jZh5GPzA6JDtLnr3bwsauK7oKO/c O1jv6Q5kDpBYQvVUJcGeWxsOOUGDdHA4QPvjV4ZRdgeNm0mrH+93gbve6f6BUbmDpiCV hvMWqtbYTZt+n3pSnbJIygWWnI8nCXK3KCZl4LZAVUxG3C4utVKpONY19aYi9XUTuJ9m GDOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="QR6/n0si"; spf=pass (google.com: domain of linux-kernel+bounces-21806-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21806-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v21-20020a05620a441500b00783364a0318si661157qkp.655.2024.01.09.23.56.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 23:56:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21806-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="QR6/n0si"; spf=pass (google.com: domain of linux-kernel+bounces-21806-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21806-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 784231C258C5 for ; Wed, 10 Jan 2024 07:56:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B5923C461; Wed, 10 Jan 2024 07:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="QR6/n0si" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 0C4DB3A8CB; Wed, 10 Jan 2024 07:56:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=ozsgV78QtWaa5DByhahm2PsgoXx1vXQSwE+6AXxoL/A=; b=QR6/n0si+nTe74CiAMw2w7N+68 39l9Dj41XJQsAUgmPv3If5eJH0InzdOVVOoEEjylegoWi2PJxN0CyEigaK94VZsncemW08HQotDUX xg7TOuZqAVo1QkK+dAvfHjs6YMn3Om9K5uX5XjCKv5olbarfGzuRoPVeRuNp9fI5IVVzXz9NuEue0 OrGvfyUKOoEZvgLtfzKxy1BEeH867kXrtjKmJml4H4JILI1GW98hN8366tkc8MYFXB61YxODEzRym pmyxUF4MziAcTjMGScsSjcuMLateat6jyh4ezEeb3Pjx6nhSUwMY+qSqpGpLFMMY43dS/f4Geea0v 3Z+uZxWw==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rNTRv-00AfwL-1P; Wed, 10 Jan 2024 07:56:31 +0000 Message-ID: <9fdcb306-862f-4ad5-a52f-cd70fd21cf05@infradead.org> Date: Tue, 9 Jan 2024 23:56:30 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] staging: vt6655: fix open parentheses alignment Content-Language: en-US To: Dan Carpenter Cc: Matthias Yee , gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20240110072304.2226-1-mgyee9@gmail.com> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/9/24 23:51, Dan Carpenter wrote: > On Tue, Jan 09, 2024 at 11:30:17PM -0800, Randy Dunlap wrote: >>> diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c >>> index 36183f2a64c1..688c870d89bc 100644 >>> --- a/drivers/staging/vt6655/card.c >>> +++ b/drivers/staging/vt6655/card.c >>> @@ -81,9 +81,9 @@ static void vt6655_mac_set_bb_type(void __iomem *iobase, u32 mask) >>> * Return Value: none >>> */ >>> static void calculate_ofdmr_parameter(unsigned char rate, >>> - u8 bb_type, >>> - unsigned char *tx_rate, >>> - unsigned char *rsv_time) >>> + u8 bb_type, >>> + unsigned char *tx_rate, >>> + unsigned char *rsv_time) >>> { >>> switch (rate) { >>> case RATE_6M: >> >> Is there any chance that checkpatch is wrong about this warning? >> >> I much prefer the alignment as it was before this patch: following lines >> are aligned with the first parameter after the '('. >> > > It just looks weird in the diff because of the + character at the front > and how the tabs work out. It looks ok in the code. Oops, sorry, you are correct. Thanks! -- #Randy