Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp527896ybp; Thu, 10 Oct 2019 23:33:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxc+V4k9vMX/Q6o4JdJ/xOZTbb73DXvZSsTCR/qACsa8gm8YVi3ama8K1nekzRMbQ0osjOH X-Received: by 2002:a05:6402:1514:: with SMTP id f20mr12002823edw.35.1570775581907; Thu, 10 Oct 2019 23:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570775581; cv=none; d=google.com; s=arc-20160816; b=BiOse9FApF0Oq/iYsFw3SjSqRsUv1/OMvDBkVzzQe3fWTc4IosxBcWa9DaWD01zaVN uj100K+14meX46zOR/RYtnjf18HfOnDnk9aZeffN/Dbtt9IiaaSrcY+QevzCj0NI6riN nutWQZOm9OMGK3jACRchsqJRPyff0vZ++CB7m6OiBeBkgMEEnXBc6WaMgVsLUd+7h5y/ pP7hdkOlfkDUMRe9f36IQhPyiPDe4LyC5ga0wGhLYaZnWvPJlnPfcBP8IwebrFxLxQ1Z /C8vfEv8oQQKC0iMNvwEzbO5AFLlHdgEuY4+BosGecYzjN9WUnV25LHZpylYAtpQTyYf BR3w== 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=jGTEqwcxCUBdA/AeeeHNFyjMzT+SsL29dn8jgF29Qvg=; b=P3tbrd/CpNZMRVmsTwU9PpOIhH5fEAhqXhtMMpPDcTITpwzfWEKg9cwbWyrK+6uzpi GxE1OoUbHWIuhK/2aJ7Sjn1mSNnD+jjBueZw4UEjrMDOuMG3TcVDgjtTfXuQ+KbZVC9a 566VGjOpO2R+Nv2Aiu252Dvf1oHExtiqpdGKkPVDuWI3P3+tG+sNST1JdLNudPncBibl fLS+cNEw3LI5TME8h9OcIjghYUEeMzVwsTFdAg2/dTLhPsh2ENdTXpxdILrHCgepwYOW RmVQgwEzgFRgd+a58l6ipkFmC7yb08UbDzUUpsJmcOsq42/QZhRAIffhDFL4ABCNSHrM NL2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qRLo7QPR; 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 u26si4920650edx.33.2019.10.10.23.32.38; Thu, 10 Oct 2019 23:33:01 -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=@kernel.org header.s=default header.b=qRLo7QPR; 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 S1727160AbfJKGcX (ORCPT + 99 others); Fri, 11 Oct 2019 02:32:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:50834 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbfJKGcW (ORCPT ); Fri, 11 Oct 2019 02:32:22 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA8FA21D56; Fri, 11 Oct 2019 06:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570775542; bh=TnPE58qDV86k0o5BhRzbVv2fC2mc+NsmiUcLxnerE7Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qRLo7QPRsBYuhpFKZQkmqcgXRt3nFD2Lg0imhUIf+OaJVDoNgY1p6N+APhLY6x0uX mtKF2jhkjxlobKahiUxrhK86v/+kh9r2IC5AfF8NTdgz0dOvy4cwnFZFTxpB9s3cQ9 fpo5xL0IrvqkwSMdn1HMO0sWHq6fnGP8Mz+Meyik= Date: Fri, 11 Oct 2019 08:32:19 +0200 From: Greg KH To: Chandra Annamaneni 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: <20191011063219.GA986093@kroah.com> References: <20191011055155.4985-1-chandra627@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191011055155.4985-1-chandra627@gmail.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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