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 46649C6FA99 for ; Fri, 10 Mar 2023 19:03:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230150AbjCJTC6 (ORCPT ); Fri, 10 Mar 2023 14:02:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjCJTCy (ORCPT ); Fri, 10 Mar 2023 14:02:54 -0500 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EE70515EC for ; Fri, 10 Mar 2023 11:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1678474951; bh=OKoro22+P0l/BvNkvQs1aVoy3cA+A5LYjwZwP+MShl0=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=mHGzmV1M0LexJYqbg7jQGbIRECBJeARhUZQWKiXnmfd791VcUIJ3t7yS9L1AvrLK7 v8piGG6BUHX2lrUO/d9n3d1bbKTeFk5ZQs6J4yAD4eGqGC6bTxK48+w559jzZVLthw 4fBSES5AIXuOtGvm7HbwW9WmO/qtmgCFXHnXfOV0= Received: by b221-5.in.mailobj.net [192.168.90.25] with ESMTP via ip-20.mailobj.net [213.182.54.20] Fri, 10 Mar 2023 20:02:31 +0100 (CET) X-EA-Auth: rNKDErQ2WgJ0q7YenK6SrXvnhV9bIKbbfmHRLR9ZhCkd/UAWAiqipH+VLN6hD4qukb04qnK176MqMjiIaMb55eW7XxnBW6Pz Date: Sat, 11 Mar 2023 00:32:24 +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 11:56:59PM +0500, Khadija Kamran wrote: > On Sat, Mar 11, 2023 at 12:05:54AM +0530, Deepak R Varma wrote: > > 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. > Hi Deepak! Sorry I am unable to understand how to merge the if condition > and spin_unlock...() together. Can you please elaborate. > Thank you Hah.. my bad. The if condition is split on two lines. Join them to form a single line if evaluation. Similarly, join the spin_un..() call that is split on two lines into a single line. Hope that clarifies it. Deepak. >