Re: [PATCH 5/6] fix warning on test_ti_thread_flag()

"David S. Miller" <[email protected]>
Newsgroups gmane.linux.ports.mips.general,gmane.linux.kernel,gmane.linux.ports.ia64,gmane.linux.ports.ppc.devel,gmane.linux.ports.sparc,gmane.linux.ports.ultrapenguin,gmane.linux.ports.sh.devel,gmane.linux.ports.hppa
Message-ID <[email protected]>
From: Paul Mackerras <[email protected]>
Date: Thu, 26 Jan 2006 09:28:02 +1100

> 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.

I agree.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.