Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932179AbWAYW3f (ORCPT ); Wed, 25 Jan 2006 17:29:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932183AbWAYW3f (ORCPT ); Wed, 25 Jan 2006 17:29:35 -0500 Received: from ozlabs.org ([203.10.76.45]:62649 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S932179AbWAYW3d (ORCPT ); Wed, 25 Jan 2006 17:29:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17367.64370.844350.972910@cargo.ozlabs.ibm.com> Date: Thu, 26 Jan 2006 09:28:02 +1100 From: Paul Mackerras To: mita@miraclelinux.com (Akinobu Mita) Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, linux-ia64@vger.kernel.org, Ian Molton , David Howells , linuxppc-dev@ozlabs.org, Greg Ungerer , sparclinux@vger.kernel.org, Miles Bader , Linus Torvalds , Yoshinori Sato , Hirokazu Takata , linuxsh-shmedia-dev@lists.sourceforge.net, linux-m68k@vger.kernel.org, Ivan Kokshaysky , Richard Henderson , Chris Zankel , dev-etrax@axis.com, ultralinux@vger.kernel.org, Andi Kleen , linuxsh-dev@lists.sourceforge.net, linux390@de.ibm.com, Russell King , parisc-linux@parisc-linux.org Subject: Re: [PATCH 5/6] fix warning on test_ti_thread_flag() In-Reply-To: <20060125113446.GF18584@miraclelinux.com> References: <20060125112625.GA18584@miraclelinux.com> <20060125113446.GF18584@miraclelinux.com> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 609 Lines: 19 Akinobu Mita writes: > If the arechitecture is > - BITS_PER_LONG == 64 > - struct thread_info.flag 32 is bits > - second argument of test_bit() was void * > > Then compiler print error message on test_ti_thread_flags() > in include/linux/thread_info.h And correctly so. The correct fix is to make thread_info.flag an unsigned long. This patch is NAKed. Paul. - 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/