From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([66.187.233.31]:36526 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1750768AbWIMQ6i (ORCPT ); Wed, 13 Sep 2006 12:58:38 -0400 From: David Howells In-Reply-To: <20060913163806.GA15563@flint.arm.linux.org.uk> References: <20060913163806.GA15563@flint.arm.linux.org.uk> <20060913130253.32022.69230.stgit@warthog.cambridge.redhat.com> <20060913130300.32022.69743.stgit@warthog.cambridge.redhat.com> <20060913161734.GE3564@stusta.de> <20060913163136.GA2585@parisc-linux.org> Subject: Re: [PATCH 4/6] Implement a general log2 facility in the kernel Date: Wed, 13 Sep 2006 17:56:55 +0100 Message-ID: <4143.1158166615@warthog.cambridge.redhat.com> Sender: linux-arch-owner@vger.kernel.org To: Russell King Cc: Matthew Wilcox , Adrian Bunk , David Howells , torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-ID: Russell King wrote: > Therefore, re-using "log2()" is about as bad as re-using the "strcmp()" > name to implement a function which copies strings. I should probably use ilog2() then which would at least be consistent with the powerpc arch. > t.c:2: warning: conflicting types for built-in function 'log2' Which, of course, I didn't see because I didn't define it as a function, merely as a macro. David