From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.nokia.com ([192.100.105.134]:22181 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932822Ab0ECPma (ORCPT ); Mon, 3 May 2010 11:42:30 -0400 Message-ID: <4BDEEEDF.7050905@maxwell.research.nokia.com> Date: Mon, 03 May 2010 18:42:23 +0300 From: Sakari Ailus MIME-Version: 1.0 To: "linux-media@vger.kernel.org" CC: Laurent Pinchart Subject: [PATCH 0/1] V4L: Event: debugging fixes Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: 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