Thread (3 messages) 3 messages, 2 authors, 2021-09-22

Re: [PATCH] Staging: wlan-ng: Fix warning messages generated by checkpatch.pl

From: Greg KH <hidden>
Date: 2021-09-19 06:38:37

Possibly related (same subject, not in this thread)

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 [off-list ref] wrote:
quoted
On Fri, Sep 17, 2021 at 11:25:42AM -0700, ua1422@gmail.com wrote:
quoted
From: Usman Ansari <redacted>

Signed-off-by: Usman Ansari <redacted>
Description: Address the following checkpatch warning:

WARNING: Commit log lines starting with '#' are dropped by git as
comments
quoted
---
 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
quoted
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.

Also look at your patch itself, it is not correct.

good luck!

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help