aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Nguyen <anthony.l.nguyen@intel.com>2017-12-04 14:28:31 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-01-12 11:20:47 -0500
commite23cf38fcaf42058888d4e42d6d3189bc5d9af8f (patch)
treee814fcd64aa0bcf3edb5e425a82cd44b887c94e3
parent5ba643c6b886d6e5c0d5f0cb0f5886ad80d0a7be (diff)
ixgbevf: Fix kernel-doc format warnings
Recent checks added for formatting kernel-doc comments are causing warnings if W= is run with a non-zero value. This patch fixes function comments to resolve warnings when W=1 is used. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c6
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/vf.c17
2 files changed, 18 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index 573f743b556a..ed5c3aea7939 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -554,7 +554,6 @@ static void ixgbevf_process_skb_fields(struct ixgbevf_ring *rx_ring,
554 * ixgbevf_is_non_eop - process handling of non-EOP buffers 554 * ixgbevf_is_non_eop - process handling of non-EOP buffers
555 * @rx_ring: Rx ring being processed 555 * @rx_ring: Rx ring being processed
556 * @rx_desc: Rx descriptor for current buffer 556 * @rx_desc: Rx descriptor for current buffer
557 * @skb: current socket buffer containing buffer in progress
558 * 557 *
559 * This function updates next to clean. If the buffer is an EOP buffer 558 * This function updates next to clean. If the buffer is an EOP buffer
560 * this function exits returning false, otherwise it will place the 559 * this function exits returning false, otherwise it will place the
@@ -2741,7 +2740,7 @@ void ixgbevf_update_stats(struct ixgbevf_adapter *adapter)
2741 2740
2742/** 2741/**
2743 * ixgbevf_service_timer - Timer Call-back 2742 * ixgbevf_service_timer - Timer Call-back
2744 * @data: pointer to adapter cast into an unsigned long 2743 * @t: pointer to timer_list struct
2745 **/ 2744 **/
2746static void ixgbevf_service_timer(struct timer_list *t) 2745static void ixgbevf_service_timer(struct timer_list *t)
2747{ 2746{
@@ -2884,7 +2883,7 @@ static void ixgbevf_watchdog_link_is_down(struct ixgbevf_adapter *adapter)
2884 2883
2885/** 2884/**
2886 * ixgbevf_watchdog_subtask - worker thread to bring link up 2885 * ixgbevf_watchdog_subtask - worker thread to bring link up
2887 * @work: pointer to work_struct containing our data 2886 * @adapter: board private structure
2888 **/ 2887 **/
2889static void ixgbevf_watchdog_subtask(struct ixgbevf_adapter *adapter) 2888static void ixgbevf_watchdog_subtask(struct ixgbevf_adapter *adapter)
2890{ 2889{
@@ -4364,6 +4363,7 @@ static void __exit ixgbevf_exit_module(void)
4364/** 4363/**
4365 * ixgbevf_get_hw_dev_name - return device name string 4364 * ixgbevf_get_hw_dev_name - return device name string
4366 * used by hardware layer to print debugging information 4365 * used by hardware layer to print debugging information
4366 * @hw: pointer to private hardware struct
4367 **/ 4367 **/
4368char *ixgbevf_get_hw_dev_name(struct ixgbe_hw *hw) 4368char *ixgbevf_get_hw_dev_name(struct ixgbe_hw *hw)
4369{ 4369{
diff --git a/drivers/net/ethernet/intel/ixgbevf/vf.c b/drivers/net/ethernet/intel/ixgbevf/vf.c
index 0c25006ce9af..64c93e8becc6 100644
--- a/drivers/net/ethernet/intel/ixgbevf/vf.c
+++ b/drivers/net/ethernet/intel/ixgbevf/vf.c
@@ -146,6 +146,7 @@ static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw)
146/** 146/**
147 * Hyper-V variant; the VF/PF communication is through the PCI 147 * Hyper-V variant; the VF/PF communication is through the PCI
148 * config space. 148 * config space.
149 * @hw: pointer to private hardware struct
149 */ 150 */
150static s32 ixgbevf_hv_reset_hw_vf(struct ixgbe_hw *hw) 151static s32 ixgbevf_hv_reset_hw_vf(struct ixgbe_hw *hw)
151{ 152{
@@ -303,7 +304,7 @@ static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr)
303 304
304/** 305/**
305 * ixgbevf_get_reta_locked - get the RSS redirection table (RETA) contents. 306 * ixgbevf_get_reta_locked - get the RSS redirection table (RETA) contents.
306 * @adapter: pointer to the port handle 307 * @hw: pointer to hardware structure
307 * @reta: buffer to fill with RETA contents. 308 * @reta: buffer to fill with RETA contents.
308 * @num_rx_queues: Number of Rx queues configured for this port 309 * @num_rx_queues: Number of Rx queues configured for this port
309 * 310 *
@@ -536,6 +537,8 @@ static s32 ixgbevf_update_mc_addr_list_vf(struct ixgbe_hw *hw,
536 537
537/** 538/**
538 * Hyper-V variant - just a stub. 539 * Hyper-V variant - just a stub.
540 * @hw: unused
541 * @netdev: unused
539 */ 542 */
540static s32 ixgbevf_hv_update_mc_addr_list_vf(struct ixgbe_hw *hw, 543static s32 ixgbevf_hv_update_mc_addr_list_vf(struct ixgbe_hw *hw,
541 struct net_device *netdev) 544 struct net_device *netdev)
@@ -584,6 +587,8 @@ static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode)
584 587
585/** 588/**
586 * Hyper-V variant - just a stub. 589 * Hyper-V variant - just a stub.
590 * @hw: unused
591 * @xcast_mode: unused
587 */ 592 */
588static s32 ixgbevf_hv_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) 593static s32 ixgbevf_hv_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode)
589{ 594{
@@ -626,6 +631,10 @@ mbx_err:
626 631
627/** 632/**
628 * Hyper-V variant - just a stub. 633 * Hyper-V variant - just a stub.
634 * @hw: unused
635 * @vlan: unused
636 * @vind: unused
637 * @vlan_on: unused
629 */ 638 */
630static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, 639static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
631 bool vlan_on) 640 bool vlan_on)
@@ -655,7 +664,7 @@ static s32 ixgbevf_setup_mac_link_vf(struct ixgbe_hw *hw,
655 * @hw: pointer to hardware structure 664 * @hw: pointer to hardware structure
656 * @speed: pointer to link speed 665 * @speed: pointer to link speed
657 * @link_up: true is link is up, false otherwise 666 * @link_up: true is link is up, false otherwise
658 * @autoneg_wait_to_complete: true when waiting for completion is needed 667 * @autoneg_wait_to_complete: unused
659 * 668 *
660 * Reads the links register to determine if link is up and the current speed 669 * Reads the links register to determine if link is up and the current speed
661 **/ 670 **/
@@ -740,6 +749,10 @@ out:
740 749
741/** 750/**
742 * Hyper-V variant; there is no mailbox communication. 751 * Hyper-V variant; there is no mailbox communication.
752 * @hw: pointer to private hardware struct
753 * @speed: pointer to link speed
754 * @link_up: true is link is up, false otherwise
755 * @autoneg_wait_to_complete: unused
743 */ 756 */
744static s32 ixgbevf_hv_check_mac_link_vf(struct ixgbe_hw *hw, 757static s32 ixgbevf_hv_check_mac_link_vf(struct ixgbe_hw *hw,
745 ixgbe_link_speed *speed, 758 ixgbe_link_speed *speed,