Skip to contentSkip to conversation

staging: octeon: Remove extra line from kernel-doc

PATCH In review Cristina Moraru 2 participants 7 messages Oct 4, 2015 – Oct 9, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: octeon: Remove extra line from kernel-doc

Fix 'bad line' kernel-doc warning

---
 drivers/staging/octeon/ethernet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/octeon/ethernet.c +1 -1
index 7274fda..a8da250 100644
@@ -368,7 +368,7 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev)
  * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
  * @dev:    The device in question.
  * @addr:   Address structure to change it too.
-
+ *
  * Returns Zero on success
  */
 static int cvm_oct_set_mac_filter(struct net_device *dev)
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Cristina Moraru

Fix 'bad line' kernel-doc warning

---
 drivers/staging/octeon/ethernet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

You have now sent over 4 patches for the same file, but I don't know what order to apply them in. Can you please resend them in a patch series, properly numbered, so that I have a chance to figure this out?

thanks,

greg k-h

#2 lore raw

cover staging: octeon: Fix kernel-doc warnings

In reply to Cristina Moraru

This patchset fixes multiple kernel-doc warnings

Cristina Moraru (3):
staging: octeon: Remove extra line from kernel-doc
staging: octeon: Remove /** from regular comments
staging: octeon: Fix kernel-doc function description

 drivers/staging/octeon/ethernet.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
1.9.1
#3 lore raw

PATCH 1/3 staging: octeon: Remove extra line from kernel-doc

Fix 'bad line' kernel-doc warning

---
 drivers/staging/octeon/ethernet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/octeon/ethernet.c +1 -1
index 7274fda..a8da250 100644
@@ -368,7 +368,7 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev)
  * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
  * @dev:    The device in question.
  * @addr:   Address structure to change it too.
-
+ *
  * Returns Zero on success
  */
 static int cvm_oct_set_mac_filter(struct net_device *dev)
Signature · 1 line
1.9.1
#4 lore raw

Appearantly I have mistaken something in the git send-email command and my patchset has been sent into 4 separate emails. I am extremely sorry for the spam. I will try to figure this out and resend correctly.

2015-10-09 22:17 GMT+03:00 Cristina Moraru <[email protected]>:

Quoted 27 lines

Fix 'bad line' kernel-doc warning

---
 drivers/staging/octeon/ethernet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/octeon/ethernet.c +0 -0
index 7274fda..a8da250 100644
@@ -368,7 +368,7 @@ static void cvm_oct_common_set_multicast_list(struct
 net_device *dev)
  * cvm_oct_common_set_mac_address - set the hardware MAC address for a

device
* @dev: The device in question.
* @addr: Address structure to change it too.
-
+ *
* Returns Zero on success
*/
static int cvm_oct_set_mac_filter(struct net_device *dev)
--
1.9.1

#5 lore raw

PATCH 2/3 staging: octeon: Remove /** from regular comments

In reply to Cristina Moraru

Fix kernel-doc warnings 'cannot understand function prototype' by removing /** from regular comments

---
 drivers/staging/octeon/ethernet.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/octeon/ethernet.c +3 -3
index a8da250..c1b657c 100644
@@ -86,19 +86,19 @@ int rx_napi_weight = 32;
 module_param(rx_napi_weight, int, 0444);
 MODULE_PARM_DESC(rx_napi_weight, "The NAPI WEIGHT parameter.");
 
-/**
+/*
  * cvm_oct_poll_queue - Workqueue for polling operations.
  */
 struct workqueue_struct *cvm_oct_poll_queue;
 
-/**
+/*
  * cvm_oct_poll_queue_stopping - flag to indicate polling should stop.
  *
  * Set to one right before cvm_oct_poll_queue is destroyed.
  */
 atomic_t cvm_oct_poll_queue_stopping = ATOMIC_INIT(0);
 
-/**
+/*
  * Array of every ethernet device owned by this driver indexed by
  * the ipd input port number.
  */
Signature · 1 line
1.9.1
#6 lore raw

PATCH 3/3 staging: octeon: Fix kernel-doc function description

In reply to Cristina Moraru

Fix kernel-doc 'Excess function parameter' by moving the description to the correct location. Also corrected parameter description

---
 drivers/staging/octeon/ethernet.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/staging/octeon/ethernet.c +7 -7
index c1b657c..d3411ef 100644
@@ -364,13 +364,6 @@ static void cvm_oct_common_set_multicast_list(struct net_device *dev)
 	}
 }
 
-/**
- * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
- * @dev:    The device in question.
- * @addr:   Address structure to change it too.
- *
- * Returns Zero on success
- */
 static int cvm_oct_set_mac_filter(struct net_device *dev)
 {
 	struct octeon_ethernet *priv = netdev_priv(dev);
@@ -413,6 +406,13 @@ static int cvm_oct_set_mac_filter(struct net_device *dev)
 	return 0;
 }
 
+/**
+ * cvm_oct_common_set_mac_address - set the hardware MAC address for a device
+ * @dev:    The device in question.
+ * @addr:   Socket address.
+ *
+ * Returns Zero on success
+ */
 static int cvm_oct_common_set_mac_address(struct net_device *dev, void *addr)
 {
 	int r = eth_mac_addr(dev, addr);
Signature · 1 line
1.9.1