Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

e1000e: fix trivial kernel doc typos

The macro E1000_success is meant to be E1000_SUCCESS. As the return
statement in the function is good as is, let's simply correct the
comment for this trivial matter.

Additionally E1000_ERR_HOST_INTERFACE_COMMAND is supposed to be
-E1000_ERR_HOST_INTERFACE_COMMAND.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Jean Sacren and committed by
Jeff Kirsher
da8ed50b 35a7d804

+1 -1
+1 -1
drivers/net/ethernet/intel/e1000e/manage.c
··· 47 47 * e1000_mng_enable_host_if - Checks host interface is enabled 48 48 * @hw: pointer to the HW structure 49 49 * 50 - * Returns E1000_success upon success, else E1000_ERR_HOST_INTERFACE_COMMAND 50 + * Returns 0 upon success, else -E1000_ERR_HOST_INTERFACE_COMMAND 51 51 * 52 52 * This function checks whether the HOST IF is enabled for command operation 53 53 * and also checks whether the previous command is completed. It busy waits