Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2952544ybh; Mon, 16 Mar 2020 12:53:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv1iiyAvTacvJ7rUZYhKXfvb1kFutbNZI8Ft/Jo3jwh26chIeWzR5XvGOCzB+a9pfHLNNVL X-Received: by 2002:aca:4ecc:: with SMTP id c195mr802870oib.123.1584388385710; Mon, 16 Mar 2020 12:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584388385; cv=none; d=google.com; s=arc-20160816; b=V9a9X2anY6vRdr2GvVK4/RW3fOGkj3JxGXdm2dZ42awjYr/1tF3dBcmUBRWpgdWlVQ PomTfWll0in3kJWm9VXuiplTfC7ojnhuO767D+4Mi3hLpImEuC4Uy6qZW60Dgdvil5hy kkT8Y0oUjbabYMizQnZ7loyY6Q1g4tCCPN5b93KU+dL8KEHcxdRissu+g6a45URyPtTC rYDIr0njX7kwwJZQY7CoaHtZIWJhK12ZOOdkAT/N1qCKCX8sSqAO+iITrHxHNnteC8hY BnQfPoeiOBs3NTV2doYdjMzAeIdMY8KOwaeDYt8HAKOp05BrqbTfkyiZksiv3fgLQDhs QLzg== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wO/Nb/2+NoykPSO+BGAUWCC7Mgu0S7xLsgIvGsI0kww=; b=y6Ph8rzhwK51Zod4IzvX6rG5ZBBym5YhzyfL8IPZ6gVSa0ODF0MrDchonFVRP7604n xrOyCApdjKoJE1RnXclj7ua7hL1vSZTsUAQGakUk9Vk6RNGQU43kaUHXyB24gd2mZ8uU v5aREPVI2uSugp6LDXEMIdSLelUeWTDOtaRjZpb71I2kOPQtGE1pyCxj2oKycwpaHPi6 2SyD54LInJGcZPt8eT/RWkHEs20UBCXxJYdlqkOxCe8eJrELTqt0PyTx6alrs7ZfIeLi 2ofMVwoOC80YiD9ldbO7nzYrHVoNcHB1ZxloaRi1rRXd2jJxywB0R8UUzU8MlPHFHV+L 4FSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dA75tfGh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si490097otk.133.2020.03.16.12.52.52; Mon, 16 Mar 2020 12:53:05 -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=@gmail.com header.s=20161025 header.b=dA75tfGh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732467AbgCPTvC (ORCPT + 99 others); Mon, 16 Mar 2020 15:51:02 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39484 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732366AbgCPTvB (ORCPT ); Mon, 16 Mar 2020 15:51:01 -0400 Received: by mail-wr1-f65.google.com with SMTP id h6so2471855wrs.6; Mon, 16 Mar 2020 12:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wO/Nb/2+NoykPSO+BGAUWCC7Mgu0S7xLsgIvGsI0kww=; b=dA75tfGhHbXLw4stenGMywz2mptw3aKK1hPHtpmfrFFj/wKU1vRhuYMChBVx+Bh1ZI 6wCFBSAUSPlIfcvpEJxJJwRiEIlYBzREHEmLuUeBYz5Y3bk0jgz/qGy0wy1XyJzSu8oM hEZK3XBg7sjOYmzaTYGFmGRGBnpFwk7K5l7/Xn/PzcDcCzp72Eq3MD7e4GCjR8NlSjWV 68vA97lKB6bY2GFG3peokQTpsT4n6gHfLzWpDNaln/vQxrDHoxU2A/dLT7L98v9wWS5b 0MrJnnVBfP8iL/NinajqWyVPy7GjE8eYyiHcqIFlTq8zfjLqkKCxyc3ryIL2MkFWg9z0 9cfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wO/Nb/2+NoykPSO+BGAUWCC7Mgu0S7xLsgIvGsI0kww=; b=TyTnA/Mp9BS5lR32P3BKBS9P6nQ/kdzvEXVKyiw32h8sJHj4JrhDbvmqu2kEf+RbUa 3gliSfeGA/VYaPCtcFOJIv+vC51Rpj8XD7E57rsyAHorscfa3eQozcnJgddqlEEz7VUH BP877DnUa5jsRYgceBwGfhynpjDeWuwb9wLfcGHw9cCNwsjxAB2iDIomgOUeZOh1TP8T VZgy2LONTRRrvRFlAvxmZ2NapzY9wSQvgBDrTni0XYNxCdX2NoR55TV9KLBkXAaAlnEx P2CCsx8/D2pHD/Ig/PrswmQx2DR4uGGXn4Gp1yK242vi2Px8c1FVxsxIeVuCEq1eW64/ 59cA== X-Gm-Message-State: ANhLgQ38m/6B5WVElkHsijm48waQn0Hn2mKesfpKcr+V7ljKv2R3WFK/ LX0CQe6IBx7LnjR+S/z/B/w= X-Received: by 2002:adf:df85:: with SMTP id z5mr1080108wrl.39.1584388258538; Mon, 16 Mar 2020 12:50:58 -0700 (PDT) Received: from gabrielDell.net ([82.102.16.195]) by smtp.gmail.com with ESMTPSA id w204sm930080wma.1.2020.03.16.12.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 12:50:57 -0700 (PDT) From: Gabriel Ravier To: linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Gabriel Ravier Subject: [PATCH] gpio-hammer: Apply scripts/Lindent and retain good changes Date: Mon, 16 Mar 2020 20:50:48 +0100 Message-Id: <20200316195048.2592199-1-gabravier@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "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 three 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 == sizeof(swirr)-1) + if (j == sizeof(swirr) - 1) j = 0; fprintf(stdout, "["); -- 2.24.1