Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760648AbYJMXJ5 (ORCPT ); Mon, 13 Oct 2008 19:09:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756912AbYJMXJp (ORCPT ); Mon, 13 Oct 2008 19:09:45 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:43912 "EHLO out4.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757132AbYJMXJo (ORCPT ); Mon, 13 Oct 2008 19:09:44 -0400 X-Sasl-enc: UGvx4GnH/19ugUZyt1dFzHyEMVTxU9o1wHoqoOEVVkwv 1223939381 Date: Mon, 13 Oct 2008 20:09:36 -0300 From: Henrique de Moraes Holschuh To: Geert Uytterhoeven Cc: Linus Torvalds , linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch 17/18] net/rfkill/rfkill-input.c needs Message-ID: <20081013230936.GA3927@khazad-dum.debian.net> References: <20081013195846.674654386@mail.of.borg> <20081013195922.392078574@mail.of.borg> <20081013204559.GC28597@khazad-dum.debian.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081013204559.GC28597@khazad-dum.debian.net> X-GPG-Fingerprint: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1368 Lines: 33 On Mon, 13 Oct 2008, Henrique de Moraes Holschuh wrote: > On Mon, 13 Oct 2008, Geert Uytterhoeven wrote: > > | net/rfkill/rfkill-input.c: In function 'rfkill_start': > > | net/rfkill/rfkill-input.c:208: error: dereferencing pointer to incomplete type > > > > As the incomplete type is `struct task_struct', including fixes > > it. > > Line 208 is this (in latest Linus mainline and also v2.6.27): > > spin_unlock_irq(&handle->dev->event_lock); > > So we need to include sched.h to everything that uses spin_unlock_irq? If Never mind, I didn't check if the problem is with the argument to spin_unlock_irq(), but the question remains... > only some variants of m68k need that, shouldn't it have been added on the > header that defines spin_unlock_irq() on those arches, instead? > > Or am I looking at a different version of rfkill-input.c than what you based > that error message on? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/