Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6003CC6FA99 for ; Fri, 10 Mar 2023 18:36:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230461AbjCJSga (ORCPT ); Fri, 10 Mar 2023 13:36:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbjCJSg2 (ORCPT ); Fri, 10 Mar 2023 13:36:28 -0500 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA42510E58C for ; Fri, 10 Mar 2023 10:36:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1678473362; bh=R8VIWH86YEuMdOEa47gN7/p87qOpPJqLkZFEdUZtOL8=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=VXwfo2q74wUU77lYQQ+X/H+yUBUevT7LBBL5feaN2qk0OK+j5zz8ofZMGbRgDb+RT GYvpV71fWoEalQoupmiljpNs6H63Wd9llFoeFIrVi6gzcOQKWKuV+F5fcm0roJs8HU DwAi6AqjHMNGqeUqqkyhAm80avNGevey/Da3HxHE= Received: by b221-4.in.mailobj.net [192.168.90.24] with ESMTP via ip-20.mailobj.net [213.182.54.20] Fri, 10 Mar 2023 19:36:01 +0100 (CET) X-EA-Auth: B1BZxEJXygdy4WBBH+svqvhT1zouqS8syIG8k+nMVKHB6ZaLu5TSsMPx0Tq6qI+OMMNCmqsJ4SUPuIyDWX5pi4ETeV+5q5qm Date: Sat, 11 Mar 2023 00:05:54 +0530 From: Deepak R Varma To: Khadija Kamran Cc: outreachy@lists.linux.dev, Vaibhav Hiremath , Johan Hovold , Alex Elder , Greg Kroah-Hartman , greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: greybus: fix exceeds line length Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 10, 2023 at 10:09:47PM +0500, Khadija Kamran wrote: > Length of line 182 exceeds 100 columns in file > drivers/staging/grebus/arche-platform.c, fix by removing tabs from the > line. Hi Khadija, I think if you also include merging the if condition and the call to spin_unlock...() on single lines, it should make the code more human. This would result in updating the patch subject and log message since you are doing more than "remove tabs". Can you try that and include in the next revision? Deepak. > > Signed-off-by: Khadija Kamran > --- > drivers/staging/greybus/arche-platform.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c > index fcbd5f71eff2..0f0fbc263f8a 100644 > --- a/drivers/staging/greybus/arche-platform.c > +++ b/drivers/staging/greybus/arche-platform.c > @@ -179,7 +179,7 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid) > if (arche_pdata->wake_detect_state != > WD_STATE_COLDBOOT_START) { > arche_platform_set_wake_detect_state(arche_pdata, > - WD_STATE_COLDBOOT_TRIG); > + WD_STATE_COLDBOOT_TRIG); > spin_unlock_irqrestore(&arche_pdata->wake_lock, > flags); > return IRQ_WAKE_THREAD; > -- > 2.34.1 > >