Skip to content

Commit

Permalink
staging: octeon: Fix kernel-doc function description
Browse files Browse the repository at this point in the history
Fix kernel-doc 'Excess function parameter' by moving
the description to the correct location. Also corrected
parameter description

Signed-off-by: Cristina Moraru <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
cristina9209 authored and gregkh committed Oct 13, 2015
1 parent d0fbf9f commit 9059075
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/staging/octeon/ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9059075

Please sign in to comment.