mbox series

[0/2] igc: fix BUG() during the driver probe

Message ID 20240601050601.1782063-1-mika.westerberg@linux.intel.com (mailing list archive)
Headers show
Series igc: fix BUG() during the driver probe | expand

Message

Mika Westerberg June 1, 2024, 5:05 a.m. UTC
Hi,

I noticed that with the v6.10-rc1 kernel I get BUG() because the
spinlock used by the PTP code is not properly initialized. This is due
the ordering change done recently and I suspect there might be other
issues the change causes. These two patches try to address this by
reverting the commit in question and then fixing the original issue by
using PCI device pointer instead for logging.

Mika Westerberg (2):
  Revert "igc: fix a log entry using uninitialized netdev"
  igc: Use PCI device pointer in logging in igc_ptp_init()

 drivers/net/ethernet/intel/igc/igc_main.c | 5 ++---
 drivers/net/ethernet/intel/igc/igc_ptp.c  | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)