From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbcCTVBc (ORCPT ); Sun, 20 Mar 2016 17:01:32 -0400 Received: from mail-ob0-f194.google.com ([209.85.214.194]:33750 "EHLO mail-ob0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbcCTVBZ (ORCPT ); Sun, 20 Mar 2016 17:01:25 -0400 MIME-Version: 1.0 In-Reply-To: References: <56CF115C.6010001@nod.at> Date: Sun, 20 Mar 2016 22:01:24 +0100 Message-ID: Subject: Re: [PATCH] mtd: ubi: Add logging functions ubi_msg, ubi_warn and ubi_err From: Richard Weinberger To: Joe Perches Cc: Artem Bityutskiy , Richard Weinberger , David Woodhouse , Brian Norris , "linux-mtd@lists.infradead.org" , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 25, 2016 at 6:25 PM, Joe Perches wrote: > Using logging functions instead of macros can reduce overall object size. > > $ size drivers/mtd/ubi/built-in.o* > text data bss dec hex filename > 271620 163364 73696 508680 7c308 drivers/mtd/ubi/built-in.o.allyesconfig.new > 287638 165380 73504 526522 808ba drivers/mtd/ubi/built-in.o.allyesconfig.old > 87728 3780 504 92012 1676c drivers/mtd/ubi/built-in.o.defconfig.new > 97084 3780 504 101368 18bf8 drivers/mtd/ubi/built-in.o.defconfig.old > > Signed-off-by: Joe Perches Applied. -- Thanks, //richard