Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752531AbWLQMdi (ORCPT ); Sun, 17 Dec 2006 07:33:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752533AbWLQMdi (ORCPT ); Sun, 17 Dec 2006 07:33:38 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:39961 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752531AbWLQMdh (ORCPT ); Sun, 17 Dec 2006 07:33:37 -0500 Date: Sun, 17 Dec 2006 13:33:29 +0100 From: Pavel Machek To: Al Viro Cc: kernel list Subject: Re: Nasty warnings on arm (+ one compile problem -- INIT_WORK related) Message-ID: <20061217123329.GE28628@elf.ucw.cz> References: <20061215235818.GD2853@elf.ucw.cz> <20061216010906.GC17561@ftp.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061216010906.GC17561@ftp.linux.org.uk> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 812 Lines: 24 > > (Or will I need to play with container_of or something? I guess I did > > not pay attetion to workqueue stuff). > > ... and that's > > static void sa1100fb_task(struct work_struct *ucking_fugly) > { > struct sa1100fb_info *fbi = container_of(ucking_fugly, > struct sa1100fb_info, > task); Thanks, fixed and sent patch to rmk. I made the variable name shorter, I hope that's okay with you ;-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/