From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965749AbXCPRP6 (ORCPT ); Fri, 16 Mar 2007 13:15:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965685AbXCPRP5 (ORCPT ); Fri, 16 Mar 2007 13:15:57 -0400 Received: from ns.firmix.at ([62.141.48.66]:46749 "EHLO ns.firmix.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965749AbXCPRP4 (ORCPT ); Fri, 16 Mar 2007 13:15:56 -0400 Subject: Re: [RFC] A need for "yesno"-function? (and "cleanup" of kernel.h) From: Bernd Petrovitsch To: Richard Knutsson Cc: Arnaldo Carvalho de Melo , Kernel Janitors List , linux-kernel@vger.kernel.org In-Reply-To: <45FACF2E.3040600@student.ltu.se> References: <45F95351.60308@student.ltu.se> <39e6f6c70703152036m778ea054gf32723d0eda2be68@mail.gmail.com> <45FAB6C5.8050302@student.ltu.se> <1174062833.26648.56.camel@tara.firmix.at> <45FACF2E.3040600@student.ltu.se> Content-Type: text/plain Organization: Firmix software GmbH Date: Fri, 16 Mar 2007 18:15:50 +0100 Message-Id: <1174065350.26648.58.camel@tara.firmix.at> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-1.fc6) Content-Transfer-Encoding: 7bit X-Firmix-Scanned-By: MIMEDefang 2.56 on ns.firmix.at X-Firmix-Spam-Score: -2.42 () AWL,BAYES_00,FORGED_RCVD_HELO X-Firmix-Spam-Status: No, hits=-2.42 required=5 X-Spam-Score: -2.42 () AWL,BAYES_00,FORGED_RCVD_HELO Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2007-03-16 at 18:09 +0100, Richard Knutsson wrote: > Bernd Petrovitsch wrote: > > On Fri, 2007-03-16 at 16:24 +0100, Richard Knutsson wrote: > > [...] > > > >> more readable). The big problem is, where to put it? Seems wrong to put > >> in since it appear to be a replica of userspace's > >> (otherwise, why put mem*-functions in there?). > >> > > > > memcpy(3) and memcmp(3) are also there in user-space. > > > Did I miss something or did you just restate what was stated? (If it was > not a replica, I think the mem*-functions would be better placed in > memory.h, or such) Ah, I misunderstood it as if you wonder why mem*() functions in . Sorry. Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services