Skip to contentSkip to conversation

The following files had their respective file names in comments, and /scripts/checkpatch.pl flagged these. I went into each file, removed the respective filename from the leading comment from the following files in /drivers/wlan:

PATCH New uroshm 1 participant 1 message May 11, 2021 Staging

lore
Share & tools
lore

uroshm

author
#0 lore raw

PATCH 1/1 The following files had their respective file names in comments, and /scripts/checkpatch.pl flagged these. I went into each file, removed the respective filename from the leading comment from the following files in /drivers/wlan:

hfa384x.h
hfa384x_usb.c
p80211conv.c
p80211conv.h
p80211hdr.h
p80211ioctl.h
p80211mgmt.h
p80211msg.h
p80211netdev.h
p80211req.c
p80211req.h
p80211types.h
p80211wep.c
prism2mgmt.c
prism2mgmt.h
prism2mib.c
prism2sta.c

---
 drivers/staging/wlan-ng/hfa384x.h      | 2 +-
 drivers/staging/wlan-ng/hfa384x_usb.c  | 2 +-
 drivers/staging/wlan-ng/p80211conv.c   | 2 +-
 drivers/staging/wlan-ng/p80211conv.h   | 2 +-
 drivers/staging/wlan-ng/p80211hdr.h    | 2 +-
 drivers/staging/wlan-ng/p80211ioctl.h  | 2 +-
 drivers/staging/wlan-ng/p80211mgmt.h   | 2 +-
 drivers/staging/wlan-ng/p80211msg.h    | 2 +-
 drivers/staging/wlan-ng/p80211netdev.h | 2 +-
 drivers/staging/wlan-ng/p80211req.c    | 2 +-
 drivers/staging/wlan-ng/p80211req.h    | 2 +-
 drivers/staging/wlan-ng/p80211types.h  | 2 +-
 drivers/staging/wlan-ng/p80211wep.c    | 2 +-
 drivers/staging/wlan-ng/prism2mgmt.c   | 2 +-
 drivers/staging/wlan-ng/prism2mgmt.h   | 2 +-
 drivers/staging/wlan-ng/prism2mib.c    | 2 +-
 drivers/staging/wlan-ng/prism2sta.c    | 2 +-
 17 files changed, 17 insertions(+), 17 deletions(-)
drivers/staging/wlan-ng/hfa384x.h +1 -1
index 88e894dd3568..700ec58ef35a 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* hfa384x.h
+/*
  *
  * Defines the constants and data structures for the hfa384x
  *
drivers/staging/wlan-ng/hfa384x_usb.c +1 -1
index f2a0e16b0318..a483c61092cc 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/prism2/driver/hfa384x_usb.c
+/*
  *
  * Functions that talk to the USB variant of the Intersil hfa384x MAC
  *
drivers/staging/wlan-ng/p80211conv.c +1 -1
index 0ff5fda81b05..f2661157e87c 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/p80211/p80211conv.c
+/*
  *
  * Ether/802.11 conversions and packet buffer routines
  *
drivers/staging/wlan-ng/p80211conv.h +1 -1
index 15fd635d9770..b640a475e302 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211conv.h
+/*
  *
  * Ether/802.11 conversions and packet buffer routines
  *
drivers/staging/wlan-ng/p80211hdr.h +1 -1
index 6564810fd026..77ba16c65774 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211hdr.h
+/*
  *
  * Macros, types, and functions for handling 802.11 MAC headers
  *
drivers/staging/wlan-ng/p80211ioctl.h +1 -1
index ed65ac57adbe..bb1188cc25d7 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211ioctl.h
+/*
  *
  * Declares constants and types for the p80211 ioctls
  *
drivers/staging/wlan-ng/p80211mgmt.h +1 -1
index c045c08e1991..5033fffadfce 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211mgmt.h
+/*
  *
  * Macros, types, and functions to handle 802.11 mgmt frames
  *
drivers/staging/wlan-ng/p80211msg.h +1 -1
index 114066526df4..f68d8b7d5ad8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211msg.h
+/*
  *
  * Macros, constants, types, and funcs for req and ind messages
  *
drivers/staging/wlan-ng/p80211netdev.h +1 -1
index d48466d943b4..3b6d12665c9a 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211netdev.h
+/*
  *
  * WLAN net device structure and functions
  *
drivers/staging/wlan-ng/p80211req.c +1 -1
index 9f5c1267d829..809cf3d480e9 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/p80211/p80211req.c
+/*
  *
  * Request/Indication/MacMgmt interface handling functions
  *
drivers/staging/wlan-ng/p80211req.h +1 -1
index c04053f3b02b..bc45cd5f91e4 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* p80211req.h
+/*
  *
  * Request handling functions
  *
drivers/staging/wlan-ng/p80211types.h +1 -1
index 3dcdd022da61..6486612a8f31 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
 /*
- * p80211types.h
+ *
  *
  * Macros, constants, types, and funcs for p80211 data types
  *
drivers/staging/wlan-ng/p80211wep.c +1 -1
index 51d917c8cdc8..3ff7ee7011df 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/p80211/p80211wep.c
+/*
  *
  * WEP encode/decode for P80211.
  *
drivers/staging/wlan-ng/prism2mgmt.c +1 -1
index 1bd36dc2b7ff..9030a8939a9b 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/prism2/driver/prism2mgmt.c
+/*
  *
  * Management request handler functions.
  *
drivers/staging/wlan-ng/prism2mgmt.h +1 -1
index 17bc1ee0d498..7132cec2d7eb 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */
-/* prism2mgmt.h
+/*
  *
  * Declares the mgmt command handler functions
  *
drivers/staging/wlan-ng/prism2mib.c +1 -1
index 875812a391c9..37654169c62f 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/prism2/driver/prism2mib.c
+/*
  *
  * Management request for mibset/mibget
  *
drivers/staging/wlan-ng/prism2sta.c +1 -1
index e6dcb687e7a1..0e0a7708bbd2 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
-/* src/prism2/driver/prism2sta.c
+/*
  *
  * Implements the station functionality for prism2
  *
Signature · 1 line
2.31.1