Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932395AbXFSTFW (ORCPT ); Tue, 19 Jun 2007 15:05:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932215AbXFSTE6 (ORCPT ); Tue, 19 Jun 2007 15:04:58 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:47065 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932390AbXFSTE5 (ORCPT ); Tue, 19 Jun 2007 15:04:57 -0400 Date: Tue, 19 Jun 2007 20:04:54 +0100 From: Christoph Hellwig To: Paulo Marques Cc: Andrew Morton , linux-kernel , Mike Frysinger Subject: Re: [PATCH] remove usage of memmem from scripts/kallsyms.c Message-ID: <20070619190454.GB3830@infradead.org> Mail-Followup-To: Christoph Hellwig , Paulo Marques , Andrew Morton , linux-kernel , Mike Frysinger References: <4678013C.5090402@grupopie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4678013C.5090402@grupopie.com> User-Agent: Mutt/1.4.2.3i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 737 Lines: 17 On Tue, Jun 19, 2007 at 05:15:56PM +0100, Paulo Marques wrote: > > The only in-kernel user of "memmem" is scripts/kallsyms.c and it only > uses it to find tokens that are 2 bytes in size. It is trivial to > replace it with a simple function that finds 2-byte tokens. > > This should help users from systems that don't have the memmem GNU > extension available. Please add a comment describing why it's there so that it's not ripped out again by the first janitor looking over the code. - 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/