summaryrefslogtreecommitdiff
path: root/net/sctp/ssnmap.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>2010-05-03 19:42:46 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 19:58:23 +0400
commitf3cd385a9c95e1ea90e886448ab1e83ee2fc7e51 (patch)
tree2d6d467d3aa5028de38aa82663a6acc9a4adb3b5 /net/sctp/ssnmap.c
parent5a11b6fe5d5ff146d951bc237c0e3f0330711baa (diff)
downloadlinux-f3cd385a9c95e1ea90e886448ab1e83ee2fc7e51.tar.xz
V4L/DVB: V4L: Events: Replace bad WARN_ON() with assert_spin_locked()
spin_is_locked() always returns zero when spinlock debugging is disabled on a single CPU machine. Replace WARN_ON() with assert_spin_locked(). Thanks to Laurent Pinchart for spotting this! Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'net/sctp/ssnmap.c')
0 files changed, 0 insertions, 0 deletions