Skip to content

V4L: Event: debugging fixes

Sakari Ailus linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1V4L: Events: Replace bad WARN_ON() with assert_spin_locked()drivers/media/video/v4l2-event.c+1 -11 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchLaurent Pinchart
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] V4L: Event: debugging fixes

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,

Signature · 2 lines
Sakari Ailus
[email protected]