Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7208124ybp; Wed, 16 Oct 2019 05:30:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGeYct6mf8YV5AKeXJ8gTx3svu6vFahpw3+Sz4M48LIQau7d3XBnYak+y9qlAonUdl5pbS X-Received: by 2002:a05:6402:b02:: with SMTP id bm2mr38935329edb.244.1571229037942; Wed, 16 Oct 2019 05:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571229037; cv=none; d=google.com; s=arc-20160816; b=cdej41byBfJcrlMsUgdX8v7tfCYhAKnQOB0e9VshcvaZ4ZySCFq98j+U4AkmtYQk+5 5HyoRB38TFBEAP2LXDPO56+lZt1jCitMWKqjBNagqmcc959obkHqxrRpX7l96ZE0hXzW v2Wl/0t8LFw6Hco54wviPYJb/ekZcgS6H1MAe11XFyiXVXOlWBLwa7QwQT9hp2q6XgIP Y3Rsyw3gDlUgaJHgP96GJYkkSiSuSNVzWVjsXBPvY8NAghF5+JLQ+cPAwFRWSnXEkkbi XggcbtFpa2sQUeALFo+V0hyIuNtvA/eMkGxt/QlHiQxpZExCHrn5FlInyzjq9jDA0EUO 96ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=THg5AIRpzEMlPPt8spygiynKMTygfSswC7awShDdMxU=; b=VFYQC4sah7D4gF0rPZxX+IM4b8SpCIFJYIA69w2H9S5Xl1rkKBG+HZ8uNiY4nNN3O4 rXVfLWgPrwCplmUGNxcazD+VcSofXRj4PaEee9L/19jvSAx399SKLXMm9tnm5IOeDob3 PAnRpjdP1Wcee6+BktC9T29Mg36EPoPtM4wfcGlXykoZii6d7RTkPKMJUGp5LKCyorq5 oWZBjmdAqk8dcCHG5h57LfqkhKiAY/RwnTulFuQqxI9fflyBBbmQYy9m6QmQCXyi8RdA F29f7sU2h1v7ZAYMvBpfI/9OJFBefCZR9q0eIv8OS2sBOVDaTQLiOvAehIZXBXFSJlFx 3Buw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="LobMO/1O"; 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 y23si18064152edb.208.2019.10.16.05.30.14; Wed, 16 Oct 2019 05:30:37 -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="LobMO/1O"; 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 S2390301AbfJPHmR (ORCPT + 99 others); Wed, 16 Oct 2019 03:42:17 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40904 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728201AbfJPHmR (ORCPT ); Wed, 16 Oct 2019 03:42:17 -0400 Received: by mail-pg1-f195.google.com with SMTP id e13so5563892pga.7 for ; Wed, 16 Oct 2019 00:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=THg5AIRpzEMlPPt8spygiynKMTygfSswC7awShDdMxU=; b=LobMO/1OtmSkqdhcKBbbKNeFpMIP4hoHsRV4p1VCHldVwZ2SRicw5VVUb6sNSwKbnq VByBnG30mUKPa/sgQ5CddllExySAv+bvMVNglTtD02F6r/aDtsrzrTAgwHu3zs7ZLp8f Ox3OUs2ZqdmEiLFIbVVhkh42diPZLCX/I+lrtQrwBYWJhpU3cQBLQYIv9Cz3rptDcT5m fYV0Fsei2nCyxuIJ9V8Vlq6W5+zaQ0Y33nz2ONgz3gKrXj61WzD2nGF8Po5T2ka0L5Nm Qq13EyOESKDZy6N8pv7QrCTbJTovR+g3W19r+3CyBaK8dvnlZiGju/7rWMIqhQDXchV1 ulew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=THg5AIRpzEMlPPt8spygiynKMTygfSswC7awShDdMxU=; b=lzypU2bH8FQ4Y5gH+SW49Z8KdQ2DSuDYOi1EJt1r4BjC904NVBHP3ElDRaeFAKA+KG MQA3671tK5fPfRrUwtmTNUfd9Dtpdn/Hakw+oVR4iarbTJnr++LX9aPuVL4hwR/7v4TL 3tFZb2ObnbBTdVqTb2VzFPRMeCxTlFcOBOVLKNMvbFUSUjHs0kUU34pCMA6XUtXLYb/U 5pWU6Uj5pw3p15Mo3I2zB0Dblc/Fm+0cweDKUOwFm4GMXnNaVfWCk/f2t4nwz/w/4ftJ XxELJakuwGkUummoUcNitBIEmf1lTwoT6I4C+qtIBxz3szMWVGfJ/1oLkyjYuAndLhMq b/bg== X-Gm-Message-State: APjAAAXIGjiF580tXDfvfoKtKMrDpvq1bQz/8zuKAcBbsdhiag+Ufgyy T5IGWGsNzJXizdWAGBdoBy0= X-Received: by 2002:a63:f453:: with SMTP id p19mr41882831pgk.433.1571211736414; Wed, 16 Oct 2019 00:42:16 -0700 (PDT) Received: from whale ([45.52.215.209]) by smtp.gmail.com with ESMTPSA id ce16sm2148561pjb.29.2019.10.16.00.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 00:42:15 -0700 (PDT) Date: Wed, 16 Oct 2019 00:42:13 -0700 From: "" To: Greg KH Cc: devel@driverdev.osuosl.org, gneukum1@gmail.com, michael.scheiderer@fau.de, fabian.krueger@fau.de, linux-kernel@vger.kernel.org, simon@nikanor.nu, dan.carpenter@oracle.com Subject: Re: [PATCH 1/5] KPC2000: kpc2000_spi.c: Fix style issues (line length) Message-ID: <20191016074213.GB19148@whale> References: <20191011055155.4985-1-chandra627@gmail.com> <20191011063219.GA986093@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191011063219.GA986093@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 11, 2019 at 08:32:19AM +0200, Greg KH wrote: > On Thu, Oct 10, 2019 at 10:51:51PM -0700, Chandra Annamaneni wrote: > > Resoved: "WARNING: line over 80 characters" from checkpatch.pl > > Please put "staging:" in your subject line, makes it easier to sort and > handle. It should look something like: > staging: kpc2000_spi: fix line length issues > > Looks a lot cleaner, right? > > > > > Signed-off-by: Chandra Annamaneni > > --- > > drivers/staging/kpc2000/kpc2000_spi.c | 20 ++++++++++---------- > > 1 file changed, 10 insertions(+), 10 deletions(-) > > > > diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c > > index 3be33c450cab..81d79b116ce0 100644 > > --- a/drivers/staging/kpc2000/kpc2000_spi.c > > +++ b/drivers/staging/kpc2000/kpc2000_spi.c > > @@ -30,19 +30,19 @@ > > #include "kpc.h" > > > > static struct mtd_partition p2kr0_spi0_parts[] = { > > - { .name = "SLOT_0", .size = 7798784, .offset = 0, }, > > - { .name = "SLOT_1", .size = 7798784, .offset = MTDPART_OFS_NXTBLK}, > > - { .name = "SLOT_2", .size = 7798784, .offset = MTDPART_OFS_NXTBLK}, > > - { .name = "SLOT_3", .size = 7798784, .offset = MTDPART_OFS_NXTBLK}, > > - { .name = "CS0_EXTRA", .size = MTDPART_SIZ_FULL, .offset = MTDPART_OFS_NXTBLK}, > > + { .name = "SLOT_0", .size = 7798784, .offset = 0, }, > > + { .name = "SLOT_1", .size = 7798784, .offset = MTDPART_OFS_NXTBLK}, > > + { .name = "SLOT_2", .size = 7798784, .offset = MTDPART_OFS_NXTBLK}, > > + { .name = "SLOT_3", .size = 7798784, .offset = MTDPART_OFS_NXTBLK}, > > + { .name = "CS0_EXTRA", .size = MTDPART_SIZ_FULL, .offset = MTDPART_OFS_NXTBLK}, > > Why did you pick 2 spaces here as a random choice of padding? That's > very odd, please don't. > > Either leave this alone (as it lines everything up nicely), or only use > one space. I would suggest just leaving it alone. > > thanks, > > greg k-h I am going to leave it as is at your and Dan C's suggestion. Thanks! Chandra