i40e: Fix misleading error message
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 6 Feb 2019 23:08:26 +0000 (15:08 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Apr 2019 22:11:14 +0000 (15:11 -0700)
commit6e114debb2eb3775b350609811522d3a84f86886
tree380a53e9ae01cdfa951966b364adee4ec648e551
parent06b6e2a2333eb3581567a7ac43ca465ef45f4daa
i40e: Fix misleading error message

This patch changes an error code for an admin queue
head overrun to use I40E_ERR_ADMIN_QUEUE_FULL instead
of I40E_ERR_QUEUE_EMPTY.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c