greearb@xxxxxxxxxxxxxxx writes: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > Store the firmware crash registers and last 128 or so > firmware debug-log ids and present them to user-space > via debugfs. > > Should help with figuring out why the firmware crashed. > > Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> > --- > > v4: Use _bh spinlock variants everywhere. > > For patch 0005: Fix kmalloc/vfree problem. I see quite a few sparse and checkpatch warnings. But I think we can ignore about LINUX_VERSION_CODE. drivers/net/wireless/ath/ath10k/debug.c: In function 'ath10k_build_dump_file': drivers/net/wireless/ath/ath10k/debug.c:685:2: warning: right shift count >= width of type [enabled by default] drivers/net/wireless/ath/ath10k/debug.c:687:2: warning: right shift count >= width of type [enabled by default] drivers/net/wireless/ath/ath10k/debug.c:685:49: warning: shift too big (32) for type long drivers/net/wireless/ath/ath10k/debug.c:687:51: warning: shift too big (32) for type long drivers/net/wireless/ath/ath10k/core.c:491:53: warning: cast to restricted __le32 drivers/net/wireless/ath/ath10k/core.c:492:52: warning: cast to restricted __le32 drivers/net/wireless/ath/ath10k/core.c:493:53: warning: cast to restricted __le32 drivers/net/wireless/ath/ath10k/core.c:494:52: warning: cast to restricted __le32 drivers/net/wireless/ath/ath10k/core.c:491: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/core.c:492: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/core.c:493: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/core.c:494: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/core.c:495: CHECK: multiple assignments should be avoided drivers/net/wireless/ath/ath10k/debug.c:680: WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged drivers/net/wireless/ath/ath10k/debug.c:696: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/debug.c:703: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/debug.c:725: WARNING: line over 80 characters drivers/net/wireless/ath/ath10k/debug.c:733: WARNING: line over 80 characters -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html