Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261417AbVDDVeY (ORCPT ); Mon, 4 Apr 2005 17:34:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261406AbVDDVcm (ORCPT ); Mon, 4 Apr 2005 17:32:42 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:57094 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261417AbVDDVPg (ORCPT ); Mon, 4 Apr 2005 17:15:36 -0400 Date: Mon, 4 Apr 2005 23:15:31 +0200 From: Adrian Bunk To: Paulo Marques Cc: LKML , Andrew Morton Subject: Re: [PATCH] create a kstrdup library function Message-ID: <20050404211531.GH4087@stusta.de> References: <42519911.508@grupopie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42519911.508@grupopie.com> User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1012 Lines: 34 This patch contains a small bug: <-- snip --> ... WARNING: /lib/modules/2.6.12-rc1-mm4/kernel/net/sunrpc/sunrpc.ko needs unknown symbol kstrdup WARNING: /lib/modules/2.6.12-rc1-mm4/kernel/net/ipv6/ipv6.ko needs unknown symbol kstrdup WARNING: /lib/modules/2.6.12-rc1-mm4/kernel/drivers/parport/parport.ko needs unknown symbol kstrdup WARNING: /lib/modules/2.6.12-rc1-mm4/kernel/drivers/md/dm-mod.ko needs unknown symbol kstrdup <-- snip --> Obvious fix: Signed-off-by: Adrian Bunk --- linux-2.6.12-rc1-mm4-modular/lib/string.c.old 2005-04-04 23:07:33.000000000 +0200 +++ linux-2.6.12-rc1-mm4-modular/lib/string.c 2005-04-04 23:09:50.000000000 +0200 @@ -619,3 +619,4 @@ memcpy(buf, s, len); return buf; } +EXPORT_SYMBOL(kstrdup); - 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/