Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2913914yba; Fri, 10 May 2019 23:07:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJmYA3S6I1524h5z6KrBpdoXv4OKhoNhwuTu+vKbngtN4T4mDcd8lyZ1qSGzIZqCVC+7Sk X-Received: by 2002:a17:902:b490:: with SMTP id y16mr17857871plr.161.1557554823782; Fri, 10 May 2019 23:07:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557554823; cv=none; d=google.com; s=arc-20160816; b=rH/cX3i7uPtYC++PWGUmMdYtOcHHFIvtzvZ5reGrRYDEoFPlMo75FmGLEnF8zn+KMi m5nv1FDB50zHa0zLA1GgthGRdpOzi1RhhXjlMphVGKg49MPRlHPgC4M9GHHGYFS3K58g zoQByvYwtpwnQEKUm7a2df+vDtixL8R5nOqKd7RFzQTL0nXm7VizhH1pZ4CE9E+4sEXP /1R/iqagvwnnIIOZSF/OjKIYxWNERZrxty1PPbb8LeK5gUPzMf3rqV78YzyExkHB8f+4 /uaH0BqbaOjla4KiRVnkLvB50hQGn7pU1+d3m8KKfyjT5CZR8XDmUF5G7DplCQSphWda 62xQ== 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=tbT6izft4zzx0SJbTRmuhNCA9cFQAU2elTwYACtOYZU=; b=Xl4n7wDF4jtgfXysjoWMcHPl/hMpiz7V2p0y2lsQfrEaCX7FFVJqA2G5OzZuwfrS35 MOPmnuL7vZmmrNeIcV75pWseTHY4fz0tgZXG8qqE6CiEcXT38f1HG/0YnOA3g4KWgP3T xGKBmhNAzo40/tpviaAxdgLPbDw+LLLrZ9omta8PZGz+hMagulfTV3Lcm1RbekVsVUlk /d58FiTs35Uvd/tl2PckTzFpCK0lTMsGsJsVNslmiQgPWgmtUZ3ghOzR0n6hya71t1JM 4PRFY0AT2FUHkrI2xdoHLzEDfiSWf5gVUAo5ADOGzCPuQwEqGmxoQAuHhMQlAlp/XAiC tKwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r358BJey; 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 d129si11037664pfd.267.2019.05.10.23.06.47; Fri, 10 May 2019 23:07:03 -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=r358BJey; 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 S1728320AbfEKGEY (ORCPT + 99 others); Sat, 11 May 2019 02:04:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:55512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbfEKGEY (ORCPT ); Sat, 11 May 2019 02:04:24 -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 A8E5C2173B; Sat, 11 May 2019 06:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557554663; bh=kYzDwn15QrIEi6kXFnvZYfsdIVkmI+/O0EqDSXyCmSg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r358BJeyRxcCtBNBrUDqEsD1Lu0ZUdSgloe9OMEQRhu3Lhiv2mi+3a9Jgy97rzwvY eZX0GfPpnKiRbBR8wt6+4lfD29VBrdjGym2nauPRvsq7QNOAwKoMMPDs59y/g1awM3 SF/Ss6jw49/OvWZITHDbvjXIeq2Ux5Khk/z5qes4= Date: Sat, 11 May 2019 08:04:20 +0200 From: Greg KH To: Vandana BN Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org Subject: Re: [PATCH] Staging: kpc2000: kpc_dma: resolve checkpath errors and warnings Message-ID: <20190511060420.GA18755@kroah.com> References: <20190510193833.1051-1-bnvandana@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190510193833.1051-1-bnvandana@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 11, 2019 at 01:08:33AM +0530, Vandana BN wrote: > This patch resolves coding style errors and warnings reported by chechpatch > > ERROR: "(foo*)" should be "(foo *)" > ERROR: trailing whitespace > ERROR: space required before the open brace '{' > ERROR: "foo * bar" should be "foo *bar" > ERROR: space prohibited after that '!' (ctx:BxW) > ERROR: space prohibited after that open parenthesis '(' > ERROR: switch and case should be at the same indent > ERROR: trailing statements should be on next line > ERROR: Macros with complex values should be enclosed in parentheses > ERROR: "foo __init bar" should be "foo __init bar" > ERROR: "foo __exit bar" should be "foo __exit bar" > WARNING: Missing a blank line after declarations > WARNING: Prefer using '"%s...", __func__' to using function's name, in a string > WARNING: braces {} are not necessary for any arm of this statement > WARNING: unnecessary cast may hide bugs > WARNING: braces {} are not necessary for single statement > WARNING: struct file_operations should normally be const > WARNING: labels should not be indented > Signed-off-by: Vandana BN > --- > drivers/staging/kpc2000/kpc_dma/dma.c | 137 +++++------ > drivers/staging/kpc2000/kpc_dma/fileops.c | 220 +++++++++--------- > .../staging/kpc2000/kpc_dma/kpc_dma_driver.c | 121 +++++----- > .../staging/kpc2000/kpc_dma/kpc_dma_driver.h | 32 +-- > 4 files changed, 265 insertions(+), 245 deletions(-) > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - Your patch did many different things all at once, making it difficult to review. All Linux kernel patches need to only do one thing at a time. If you need to do multiple things (such as clean up all coding style issues in a file/driver), do it in a sequence of patches, each one doing only one thing. This will make it easier to review the patches to ensure that they are correct, and to help alleviate any merge issues that larger patches can cause. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot