Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 12 Feb 2002 02:19:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 12 Feb 2002 02:19:10 -0500 Received: from nat-pool-meridian.redhat.com ([12.107.208.200]:16378 "EHLO devserv.devel.redhat.com") by vger.kernel.org with ESMTP id ; Tue, 12 Feb 2002 02:19:05 -0500 Date: Tue, 12 Feb 2002 02:18:47 -0500 From: Pete Zaitcev Message-Id: <200202120718.g1C7IlS29064@devserv.devel.redhat.com> To: zwane@linux.realnet.co.sz Cc: Kernel Janitors , Linux Kernel Subject: Re: [PATCH] printk prefix cleanups. In-Reply-To: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Here is a simple patch which reduces resultant binary size by 1.2k for > this particular module (opl3sa2). [...] > #define OPL3SA2_MODULE_NAME "opl3sa2" > +#define OPL3SA2_PFX OPL3SA2_MODULE_NAME ": " > - printk(KERN_ERR "opl3sa2: MSS mixer not installed?\n"); > + printk(KERN_ERR OPL3SA2_PFX "MSS mixer not installed?\n"); I do not believe that it shortens binaries. Care to quote size(1) output and /proc/modules with and without the patch? -- Pete - 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/