From patchwork Fri Feb 5 13:52:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Zhang X-Patchwork-Id: 77348 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o15DrqUE008659 for ; Fri, 5 Feb 2010 13:53:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932830Ab0BENxI (ORCPT ); Fri, 5 Feb 2010 08:53:08 -0500 Received: from mail-pz0-f189.google.com ([209.85.222.189]:59613 "EHLO mail-pz0-f189.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932444Ab0BENxD (ORCPT ); Fri, 5 Feb 2010 08:53:03 -0500 Received: by pzk27 with SMTP id 27so4166992pzk.33 for ; Fri, 05 Feb 2010 05:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=t5JL7fDkOZOIspkBh7E1w1KOEYB5l5i3fd6CnTI6jZw=; b=PKO1SYKwwGwfEfQ6aKzI+0qWWt7u6zF1WA8T6ghTnPzS2N/vRnt4uuBQEYqLHGALte nnKYaU7UNulwo/NOXUGfwtd48Shb/14+RF/qTxZFnmNzHnCTOi0sGoHeSmXu6maTf7KT raJXa5OIrxJZW73e8rV7j4HQnl2t1dVCmG5Tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=d28Rbvx2XBZWcVFkSRKuqaBUYusMzw5ATELWBXQC2ZbUb1ublxtk5GBJ1OnQz9AV6f ivnUzol+W86rZMSZRHGmdaf7wzFId8QmVICkeGaW3/pYbTP9uPoh+rqfQpeNcq1hqVeI cxMYdVGB2juSFemifRYNxUuN83pKi36LLkrR4= Received: by 10.114.98.12 with SMTP id v12mr1790876wab.146.1265377974253; Fri, 05 Feb 2010 05:52:54 -0800 (PST) Received: from localhost ([221.217.207.114]) by mx.google.com with ESMTPS id 20sm1450265pzk.13.2010.02.05.05.52.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Feb 2010 05:52:53 -0800 (PST) From: Yong Zhang To: linux-kernel@vger.kernel.org Cc: a.p.zijlstra@chello.nl, mingo@elte.hu, Brian Johnson , Jean-Francois Moine , Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: [PATCH 3/4] V4L/DVB: gspca - sn9c20x: correct onstack wait_queue_head declaration Date: Fri, 5 Feb 2010 21:52:39 +0800 Message-Id: X-Mailer: git-send-email 1.6.3.3 In-Reply-To: References: <1265377920-5898-1-git-send-email-yong.zhang0@gmail.com> In-Reply-To: References: Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 05 Feb 2010 13:53:52 +0000 (UTC) diff --git a/drivers/media/video/gspca/sn9c20x.c b/drivers/media/video/gspca/sn9c20x.c index 0ca1c06..8f75fbc 100644 --- a/drivers/media/video/gspca/sn9c20x.c +++ b/drivers/media/video/gspca/sn9c20x.c @@ -1426,7 +1426,7 @@ static int input_kthread(void *data) struct gspca_dev *gspca_dev = (struct gspca_dev *)data; struct sd *sd = (struct sd *) gspca_dev; - DECLARE_WAIT_QUEUE_HEAD(wait); + DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wait); set_freezable(); for (;;) { if (kthread_should_stop())