Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D6D672 for ; Wed, 22 Sep 2021 06:26:33 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BC38B5C0134; Wed, 22 Sep 2021 02:26:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 22 Sep 2021 02:26:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Y9/1gD2msJOfaeSLNHVSjdVA7rA AosgBn0cjn2zsfMk=; b=olj/biKDG2RoXzju3WX9iTyrNY3bvBjC3nd37Bj2rqk 8lmsibGcRYihcqeSmAq2XZjyE0WRTa0KKmoD1LTNGvFvhzTdV1Hrd1+3p2XeWH83 DTlkuCZ/1MST/VGOlDscuExYhIUXo9G/Ac7vANl+MzJ12mP3uQdm+9C1VY+3fOU3 DyAdUe6dgYkXkhb25i5htT4423+cPWOhVLjrubq1KD24jS/n4DM0YLGE3xnFdMD/ 6RIJ61UjMhyUZiRcjVt4ky+C1WgLrluDmjc++1NNf2Mm7BAFznH+vNc2ic2eLsZu cDQQfcDHufzj3SIpLkJ8H0fWRk30Y5FGiWo7lQMXbGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Y9/1gD 2msJOfaeSLNHVSjdVA7rAAosgBn0cjn2zsfMk=; b=o6cHjpwOXHFCmRm/858yi7 YbSg63xdmDYecGD9nVIk2t9+T9lRw+CQoDkYP7dCox1gpQHXs+XNPkFRTHOuIgrX kvdsXt3sKi67ZFLwLun0N8yHdybVbRq27TRECXZcgdYZpnLOnxsyyUm9toUn7OpK NCqY+d/CiVdu24jQ+0s0aVcCg46I122JlOPudWttQ4P3+1dJSG6s0A8Lvf0TL5NV 3pfM/aRfp9nGsfdU+amNmHUGtIKEdS7Br1wi55EjuEcSKyOQpefqHwzyQHf/Xyyy 8byQGVN6bRgTf2eZVhO/PuqzIFDy7u/hC8MufvA2aU1tBeawB+SPPyuvnBAXPdLQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeiiedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuhe ejgfffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorg hhrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Sep 2021 02:26:32 -0400 (EDT) Date: Wed, 22 Sep 2021 08:26:28 +0200 From: Greg KH To: "Usman S. Ansari" Cc: linux-staging@lists.linux.dev Subject: Re: [PATCH] Staging: wlan-ng: Fix warning messages generated by checkpatch.pl Message-ID: References: <20210917182542.52733-1-ua1422@gmail.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Sep 21, 2021 at 07:56:10PM -0700, Usman S. Ansari wrote: > On Sat, Sep 18, 2021 at 11:38 PM Greg KH wrote: > > > > On Sat, Sep 18, 2021 at 11:29:42AM -0700, Usman S. Ansari wrote: > > > On Fri, Sep 17, 2021 at 11:53 PM Greg KH wrote: > > > > > > > On Fri, Sep 17, 2021 at 11:25:42AM -0700, ua1422@gmail.com wrote: > > > > > From: Usman Ansari > > > > > > > > > > Signed-off-by: Usman Ansari > > > > > Description: Address the following checkpatch warning: > > > > > > > > > > WARNING: Commit log lines starting with '#' are dropped by git as > > > > comments > > > > > --- > > > > > drivers/staging/wlan-ng/cfg80211.c | 6 +++--- > > > > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > > > > > > > diff --git a/drivers/staging/wlan-ng/cfg80211.c > > > > b/drivers/staging/wlan-ng/cfg80211.c > > > > > index 7951bd63816f..f03dc1e59db1 100644 > > > > > --- a/drivers/staging/wlan-ng/cfg80211.c > > > > > +++ b/drivers/staging/wlan-ng/cfg80211.c > > > > > @@ -1,7 +1,7 @@ > > > > > // SPDX-License-Identifier: GPL-2.0 > > > > > /* cfg80211 Interface for prism2_usb module */ > > > > > -#include "hfa384x.h" > > > > > -#include "prism2mgmt.h" > > > > > + #include "hfa384x.h" > > > > > + #include "prism2mgmt.h" > > > > > > > > > > /* Prism2 channel/frequency/bitrate declarations */ > > > > > static const struct ieee80211_channel prism2_channels[] = { > > > > > @@ -28,7 +28,7 @@ static const struct ieee80211_rate prism2_rates[] = { > > > > > { .bitrate = 110 } > > > > > }; > > > > > > > > > > -#define PRISM2_NUM_CIPHER_SUITES 2 > > > > > + #define PRISM2_NUM_CIPHER_SUITES 2 > > > > > static const u32 prism2_cipher_suites[PRISM2_NUM_CIPHER_SUITES] = { > > > > > WLAN_CIPHER_SUITE_WEP40, > > > > > WLAN_CIPHER_SUITE_WEP104 > > > > > -- > > > > > 2.25.1 > > > > > > > > > > > > > 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 does not have a Signed-off-by: line. Please read the > > > > kernel file, Documentation/SubmittingPatches and resend it after > > > > adding that line. Note, the line needs to be in the body of the > > > > email, before the patch, not at the bottom of the patch or in the > > > > email signature. > > > > > > > > - You did not specify a description of why the patch is needed, or > > > > possibly, any description at all, in the email body. Please read the > > > > section entitled "The canonical patch format" in the kernel file, > > > > Documentation/SubmittingPatches for what is needed in order to > > > > properly describe the change. > > > > > > > > - You did not write a descriptive Subject: for the patch, allowing Greg, > > > > and everyone else, to know what this patch is all about. Please read > > > > the section entitled "The canonical patch format" in the kernel file, > > > > Documentation/SubmittingPatches for what a proper Subject: line should > > > > look like. > > > > > > > > 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 > > > > > > > > > > Hi Greg, > > > > > > I think I have covered all the items listed in your email bot reply. Please > > > let me know if the patch is not meeting the expectations. > > > > It is not, sorry. Please read the documentation. > > This is more for learning and not arguing: > - I do have signed-off in my patch > - I do have a Description of the patch > - I do have a subject describing the patch > > Anyone, please let me know, what are the expectations not fulfilled? Here is what you have in your changelog, from above: From: Usman Ansari Signed-off-by: Usman Ansari Description: Address the following checkpatch warning: WARNING: Commit log lines starting with '#' are dropped by git as comments Now look at any of the thousands of commits in the kernel tree, are they also in this format? Or are they in a different format? Look at the documentation that my bot pointed you at for what the structure of a changelog comment should be. Notably look _where_ the information should be in the changelog commit (top? middle? bottom?) and compare it to what you did here. Try to rewrite it to match what has been accepted in the past. hope this helps, greg k-h