Skip to contentSkip to conversation

staging: octeon: Remove bad line

PATCH In review Cristina Moraru 2 participants 2 messages Oct 2, 2015 – Oct 3, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: octeon: Remove bad line

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
#1 lore raw

Commit message should be more explicit.

Do not focus exactly on the message reported by kernel-doc tool, but on why we do need this patch.

e.g staging: octeon: Remove empty line to fix kernel-doc warning

Kernel-doc styles comments should always start with a *. We are now free of the following kernel-doc warning:
<insert kernel-doc warning>

thanks,
Daniel.

Quoted 21 lines · Cristina Moraru

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 -2
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)
--