i40e: _MASK vs _SHIFT typo in i40e_handle_mdd_event()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 23 Oct 2014 03:06:29 +0000 (20:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Oct 2014 20:50:56 +0000 (16:50 -0400)
commit013f6579c6e4f9517127a176bfc37bbac0b766cb
tree863b4993bc49cd84e5e95f92213aaa74ea3f3730
parentfe0ca7328d03d36aafecebb3af650e1bb2841c20
i40e: _MASK vs _SHIFT typo in i40e_handle_mdd_event()

We accidentally mask by the _SHIFT variable.  It means that "event" is
always zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c