All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] driver core: Improve warning backtrace in device probing
@ 2019-11-20 14:36 Geert Uytterhoeven
  2019-11-20 14:36 ` [PATCH 1/2] driver core: Add dev_WARN_ON() helper Geert Uytterhoeven
  2019-11-20 14:36 ` [PATCH 2/2] driver core: Print device in really_probe() warning backtrace Geert Uytterhoeven
  0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2019-11-20 14:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J . Wysocki; +Cc: linux-kernel, Geert Uytterhoeven

	Hi Greg, Rafael,

Once in a while, the WARN_ON() in really_probe() is triggered due to a
bug in a driver or subsystem.  While the backtrace provides some clues,
it does not reveal the offending device.

Hence this patch series adds a new dev_WARN_ON() helper, and uses that.

Thanks!

Geert Uytterhoeven (2):
  driver core: Add dev_WARN_ON() helper
  driver core: Print device in really_probe() warning backtrace

 drivers/base/dd.c      | 2 +-
 include/linux/device.h | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-21 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-20 14:36 [PATCH 0/2] driver core: Improve warning backtrace in device probing Geert Uytterhoeven
2019-11-20 14:36 ` [PATCH 1/2] driver core: Add dev_WARN_ON() helper Geert Uytterhoeven
2019-11-20 14:36 ` [PATCH 2/2] driver core: Print device in really_probe() warning backtrace Geert Uytterhoeven
2019-11-21 13:57   ` Greg Kroah-Hartman
2019-11-21 14:08     ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.