All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] V4L: Event: debugging fixes
@ 2010-05-03 15:42 Sakari Ailus
  2010-05-03 15:42 ` [PATCH 1/1] V4L: Events: Replace bad WARN_ON() with assert_spin_locked() Sakari Ailus
  0 siblings, 1 reply; 3+ messages in thread
From: Sakari Ailus @ 2010-05-03 15:42 UTC (permalink / raw)
  To: linux-media@vger.kernel.org; +Cc: Laurent Pinchart

Hi,

Laurent Pinchart found that on uni-processor kernels without spinlock
debugging spin_is_locked() is always zero, which causes a bad WARN_ON()
message to be shown. The following patch removes the WARN_ON() and
replaces it with assert_spin_locked() which works correctly.

Regards,

-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com

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

end of thread, other threads:[~2010-05-03 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 15:42 [PATCH 0/1] V4L: Event: debugging fixes Sakari Ailus
2010-05-03 15:42 ` [PATCH 1/1] V4L: Events: Replace bad WARN_ON() with assert_spin_locked() Sakari Ailus
2010-05-03 15:57   ` Laurent Pinchart

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.