Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3799474ybh; Tue, 17 Mar 2020 06:51:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsWdoy6nvTr9xkEaisSd/WapADXuKsC8gcxjl7v3GTLnV+ov0F8KZlkG6XiGXlejojxsIns X-Received: by 2002:a05:6830:13c7:: with SMTP id e7mr3764362otq.5.1584453078201; Tue, 17 Mar 2020 06:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584453078; cv=none; d=google.com; s=arc-20160816; b=mB6RgDPjDpyK4TbRSO9mcFyTT+375yyzDKV2CRQ3vOMxxmb6InLdcVIeYpbJ52RNXZ CDCNktQWwJleL7bSdiQg5cU4wKTORsDua99/bb58xyASCShduC+IyXfdjPWGKtlqWlAm jYdlPVeq6urr5z0FbN4BZQT02NIR+M7JjDQ9zABJblqmVViXZutiBPK5rSZaKi2S1vz+ LVLzAVr13pBLYM0FJs8V8QXe0U20o0nknoLOHCLe/ZF0ejVNSEVl5W2ScOSpFO19w6pW gSfjZIIUodCIpeb4XXbU+QkQHxTPxa2uGd0ZwgF4YSc5VFhbwWHwzJvcBAgpBeaD9mOs yLWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=bl6Wl8W1k8+UQXRdrCsPqiuDGnxac/zO2yeYWcwH/eY=; b=ZRz0u7kgeZEe3QHxsmYa9tScIJ28/P1jxiENQi56I6Nb0cO6L6bQDkkjLc727dE+d5 4HCv4oJERumzt0Tg/hSU2WcQ4IDIki9V9I69nRW919XNrzyEqvC0xBbAwCz2/9NjzM+m myYM2XtaWFFsCAlYH0FKEAMYlMo3gQLcRRv/neOSCV6kkvZjb/7ZM7YVyoQFDB8xUIU7 rmOhxTR4CaQTuUA7N0E1rZorItYY2aQ6TLv227lKHLd3t6CEsW7efK+22DfWatKd30js SiW+yZpoqs0hDq8y8r0IZCXJ1cjBfs8VoIvArGPRErmYMHryMmsXVBKU2BPNzQzlYWd/ iLOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BBO2buZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si1891150otn.4.2020.03.17.06.51.03; Tue, 17 Mar 2020 06:51:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BBO2buZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbgCQNuo (ORCPT + 99 others); Tue, 17 Mar 2020 09:50:44 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:46279 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbgCQNun (ORCPT ); Tue, 17 Mar 2020 09:50:43 -0400 Received: by mail-lf1-f66.google.com with SMTP id a28so5414119lfr.13 for ; Tue, 17 Mar 2020 06:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bl6Wl8W1k8+UQXRdrCsPqiuDGnxac/zO2yeYWcwH/eY=; b=BBO2buZOeTxK0pTFcnu2vsX80POcqQJc4xww2aupjp3CUcUyRERCJVPxOku6Aa1UD+ TdQ3ulqZrG+z4FycBEAhYazQKCR56uL3u+gjU2zBF1yApArsbKhWr+mIlMaeU6RJnIkH 3mha3ioQs0YGEaIJZyKWvb16kby/lPx/VM9v6RZ+7Vn/V3CzxmV9M/m4xaFBEmEAPnj1 at+zXtyuHqSvx6FIl1EDBhs4TosAgYqCTcjUKCE6hL9aWmjBjuD1ck604axr8kvBZp/X 2aIO/omD5oUHySZmd1whOdSQk6M2cGFoKZmq43572olq0U2X2dWCj6fWpArT4t+R2Ubo LrEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bl6Wl8W1k8+UQXRdrCsPqiuDGnxac/zO2yeYWcwH/eY=; b=DFpQd0lC6fvk7xnqR78UWOHIgFVfu7LSVVBfPhhRnBH1LeznQZpaXZxkS5Vp+j/Atz JbNfr79hfCcBpMcwJjzJwyiiY10MTCojIOGGJHLX/yGMcaQtLESjGxDV3+dolwdk7ErI em+bmNuIv862swgZ778LDyI6mXi7Mc+7JgH3fqGbHAmGvbUS1sypsYp/i6irtgs4XYPN YSZq5tgik+r2Zs4a6R4mYcSQVtczZzdBSVYCn2sW897bvbUBCTaDnhiRZlEDtyNXOwtQ s2GFrT/xxNfNo9NpsW0PAejgDTvJZUHQUuvC7tTcg0eplHGJgCjyMFSW1HPcMoLtRtMn MMbw== X-Gm-Message-State: ANhLgQ2pz+mxuR671WxdKiskBE5CQcKkvki97/WpxaLatowTRvGo6VuX 1w485hfx9sLCbD3Jq5DNXXypm1n6xEo4gSdJoaMSRPA6 X-Received: by 2002:adf:bb06:: with SMTP id r6mr6318759wrg.324.1584453039735; Tue, 17 Mar 2020 06:50:39 -0700 (PDT) MIME-Version: 1.0 References: <20200316195048.2592199-1-gabravier@gmail.com> In-Reply-To: <20200316195048.2592199-1-gabravier@gmail.com> From: Bartosz Golaszewski Date: Tue, 17 Mar 2020 14:50:03 +0100 Message-ID: Subject: Re: [PATCH] gpio-hammer: Apply scripts/Lindent and retain good changes To: Gabriel Ravier Cc: Linus Walleij , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pon., 16 mar 2020 o 20:50 Gabriel Ravier napisa=C5=82= (a): > > "retain good changes" means that I left the help string split up instead > of having this weird thing where it tries to merge together the last thre= e > lines and it looks **really** bad > > Signed-off-by: Gabriel Ravier > --- > tools/gpio/gpio-hammer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c > index 0e0060a6eb34..51a65f8149ea 100644 > --- a/tools/gpio/gpio-hammer.c > +++ b/tools/gpio/gpio-hammer.c > @@ -77,7 +77,7 @@ int hammer_device(const char *device_name, unsigned int= *lines, int nlines, > > fprintf(stdout, "[%c] ", swirr[j]); > j++; > - if (j =3D=3D sizeof(swirr)-1) > + if (j =3D=3D sizeof(swirr) - 1) > j =3D 0; > > fprintf(stdout, "["); > -- > 2.24.1 > Patch applied, thanks! Bartosz