ixgbe: fix uninitialized event.type in ixgbe_ptp_check_pps_event
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 13 Oct 2012 05:00:06 +0000 (05:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 1 Nov 2012 08:41:54 +0000 (01:41 -0700)
commit3645adbbab4329dd83a41674a56bf4afcdcc5914
tree0c60ec642ce7440b2e05d60dfcc66c7e2362dc7a
parent810b6d7638a288216f99bd190470d67061c8bd88
ixgbe: fix uninitialized event.type in ixgbe_ptp_check_pps_event

This patch fixes a bug in ixgbe_ptp_check_pps_event where the type was
uninitialized and could cause unknown event outcomes.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c