Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2815276pxb; Fri, 12 Feb 2021 01:53:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwR2axe8skvGFtvcCYO1QZYKQwrucyduNhMDVx5KSV1nndvchLBA0HeuBUZ96K6Anmogv3v X-Received: by 2002:a17:906:2993:: with SMTP id x19mr2077852eje.409.1613123626244; Fri, 12 Feb 2021 01:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613123626; cv=none; d=google.com; s=arc-20160816; b=SWN7bpTNfmv2Si1GfgPQ+mtmHlY8aewp6DnYvt+rMZwbdR+ywiex62WTDA5E3JEXpB gzZelGijq56qW9hXjOeQ7sU4E4+DKe2GyieGWx/dpk+fbbLSDxp+qa2dcSxrRIj6hW01 doKV4sHfrSmDscNhTZywyB+VHmksH6Pw2Npkf/ukPLPEwcHtuZEYCAyBBeaIRyprfx+4 s0l1MhFxaW/RgBn321zDjxPrzCOjby0gVL57h4/tEdGT9kd9rWPBwNoIkE9PKpwqIsvC ytrrDwQAVftOUp6bVB+8uMzlcXeuCb4RwYS5KJWHyBXmRfaSu/ptpfJCkG7lJ2ioCKpm U7HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Xyojs1O6LSyH6zlbVDz95ijGODtTD8w/HHlvIHGYvoA=; b=Lt5367hClvdOlcNRj6Y2DGMrDf6y1yPRHNt0yO+Zv6EmLO0BEGAOT/NKZxo6Zi5dhp nefTuOEcoLAqA7lpOgmnafwTcFJmmkA8oo1LrBLTHxZWCN3Wkjd+ZWGLlPOdawEZeX9B EIycaQHA/CYOXRuOt0unStyPrXg78e6uKBOUvLcWO/cq1++UywjVMBL7FAXwIGHE62W2 iurV8j88AQvnTsrAYz35HpA7MR4Sh42KvrlAQRE5sbqWpMtKmnZSbN+qDe8szNdsGMRT dNW1imoZOSlujZIPnLjO9UUUvnw3TZW60/ovRNIMJ8FATh3Fl+7XywMY95Y9xj/oqWS5 XVIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ok4noK6B; 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 e6si3302689ejs.366.2021.02.12.01.53.23; Fri, 12 Feb 2021 01:53:46 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ok4noK6B; 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 S230238AbhBLJwj (ORCPT + 99 others); Fri, 12 Feb 2021 04:52:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:44278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230023AbhBLJwi (ORCPT ); Fri, 12 Feb 2021 04:52:38 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6B43264DC3; Fri, 12 Feb 2021 09:51:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613123517; bh=n2Vxmj6dT4i51SBCbbozTF7UHhNkZ4QoGcnjYMiJQFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ok4noK6B7ZR0NuiFx2CwXUyKcRChvIeMSPKpQKlxJ4HJrzcadHnkfiko6qGCgZMrp zAhnb967jULYFO5+PPImz78Z9FIBRkNU/KMwfU00YkYh1o+sPiufsWUAQRbMv0dA8N MB2Y2DaNbkIM/k1JTKv4vlzo1UGRMqurxqRz5RDtHo5WEXZUgK05lonXg3S1f5nW2U y7xx2eiKaDN0tVtF6iVXGGIJdM4VcNQSnPkEpD5gdbpLBggLZMDlL4QkeKSMIhWpLv 21d33sqtXPiW9WbtcIvRFB4O53U5KW+f/gnsf9aSf/Cb8nT5alBtZNwjotbeGYVu1u CjdxY1t87NF7A== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1lAV7V-0001mH-76; Fri, 12 Feb 2021 10:52:13 +0100 Date: Fri, 12 Feb 2021 10:52:13 +0100 From: Johan Hovold To: Viresh Kumar Cc: Greg KH , Pritthijit Nath , devel@driverdev.osuosl.org, elder@kernel.org, vireshk@kernel.org, linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org Subject: Re: [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c Message-ID: References: <20210212081835.9497-1-pritthijit.nath@icloud.com> <20210212090926.ox763j3btrqfzzzj@vireshk-i7> <20210212092130.cxo6tuess6msf4kb@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210212092130.cxo6tuess6msf4kb@vireshk-i7> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 12, 2021 at 02:51:30PM +0530, Viresh Kumar wrote: > On 12-02-21, 10:17, Greg KH wrote: > > On Fri, Feb 12, 2021 at 02:39:26PM +0530, Viresh Kumar wrote: > > > On 12-02-21, 13:48, Pritthijit Nath wrote: > > > > This change fixes a checkpatch CHECK style issue for "Alignment should match > > > > open parenthesis". > > > > > > > > Signed-off-by: Pritthijit Nath > > > > --- > > > > drivers/staging/greybus/hid.c | 4 ++-- > > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > > > diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c > > > > index ed706f39e87a..a56c3fb5d35a 100644 > > > > --- a/drivers/staging/greybus/hid.c > > > > +++ b/drivers/staging/greybus/hid.c > > > > @@ -221,8 +221,8 @@ static void gb_hid_init_reports(struct gb_hid *ghid) > > > > } > > > > > > > > static int __gb_hid_get_raw_report(struct hid_device *hid, > > > > - unsigned char report_number, __u8 *buf, size_t count, > > > > - unsigned char report_type) > > > > + unsigned char report_number, __u8 *buf, size_t count, > > > > + unsigned char report_type) > > > > { > > > > struct gb_hid *ghid = hid->driver_data; > > > > int ret; > > > > > > I can't even count the number of attempts we have seen in previous > > > years to make checkpatch --strict happy for greybus. > > > > > > I say we make this change once and for all across greybus, so we don't > > > have to review or NAK someone afterwards. > > > > > > Should I send a patch for this ? > > > > Sure, but note that over time, checkpatch adds new things so there will > > always be something to change in here, until we move it out of the > > drivers/staging/ area :) > > Right, though I wasn't worried about other checkpatch warning but > specially the "alignment - parenthesis" one. Everyone (specially > newbies) want to fix that everywhere :) But what will the checkpatch crew then work on? Better staging than the rest of the kernel. Perhaps just let them keep at it until we move the rest out (the price we pay for taking this through staging apparently). But there can't be that many instances left of this alignment "violation" in staging/greybus (~4 it seems) if you want to get it over with. Johan