Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2062318ybp; Thu, 10 Oct 2019 01:28:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTukC849umTqeDQak5tIgwBlejAUeI9y8uwzYcoKpkOXro+vx524Yet2hCWZC70QD3Smif X-Received: by 2002:a05:6402:51a:: with SMTP id m26mr6953810edv.298.1570696118980; Thu, 10 Oct 2019 01:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570696118; cv=none; d=google.com; s=arc-20160816; b=j3AMOYITML95u2BXOjiX7OkfxdyHw1qjinEZELCFuskkMy52QXsQGadcBesIX4xFLf xdbEEM/VzjaiIgfXuwLQuznpDLiClHmGacW621QNlNPU5Sleqw9XoHe63GUtPK/3wsPV ov4BWbNhKkjb5685rJwGKr4SKdXxEr32n3PN+dupWKjCfGnhiCA8l2oa9UzXphdkUkDN cHyZKgMFCOZWlAQ42chKlPYURHlmqCFCACq2N4NU36XqhEdT1sikES5Lq4c1lCXz4zFB ucOXdUCWJhFoO4dPxSxIGy3A7pR5T8GB+iXlNqN0HZBYt0wsbEQ33lp4XTrKX119dgKr Aewg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=r39E101k29MTWeXtBUTxu/vkAatkeaXJykXqRj/IJrM=; b=U3xewSTdEEKd2roE/+hnDibfLomb4EbvNr0mzUpBrTyW7dPhOhI9ar/UcgOpHeZvf0 28XdWesXHOGZ008A+o0bxD70lItaG15F72HutcDH1Z+Mmgd1Sci3Fk3EK+G1eDD67Qz1 Dk5OwlN6CgrAtjFLuiqdafVTHUsI2AloDTuoEaWJRI1ZmFcVPqgj/zmEPYe/PGEjPAJI fRPeD+jwhmQyRG9l1TPxTa9lkw3hEo6GBKGfHJ+ll9eR9U3vN4CGHK8QeDWhDbif9+Bd sE74qzWsSMv893Jnz7ikVBCxkm+WQ0SXk7JvkxT9mSOD/OhzGWXC+W9QfJdVDr6gA0rd dP0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si2679334eji.413.2019.10.10.01.28.15; Thu, 10 Oct 2019 01:28:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733170AbfJJI0K convert rfc822-to-8bit (ORCPT + 99 others); Thu, 10 Oct 2019 04:26:10 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:50111 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727389AbfJJI0K (ORCPT ); Thu, 10 Oct 2019 04:26:10 -0400 Received: from xps13 (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 5F40D24000D; Thu, 10 Oct 2019 08:26:07 +0000 (UTC) Date: Thu, 10 Oct 2019 10:26:06 +0200 From: Miquel Raynal To: Fuqian Huang Cc: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: maps: l440gx: Avoid print address to dmesg Message-ID: <20191010102606.253ff6b9@xps13> In-Reply-To: <20191010080130.25402-1-huangfq.daxian@gmail.com> References: <20191010080130.25402-1-huangfq.daxian@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fuqian, Fuqian Huang wrote on Thu, 10 Oct 2019 16:01:30 +0800: > Avoid print the address of l440gx_map.virt every time l440gx init. > > Signed-off-by: Fuqian Huang > --- > drivers/mtd/maps/l440gx.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mtd/maps/l440gx.c b/drivers/mtd/maps/l440gx.c > index 876f12f40018..e7e40bca82d1 100644 > --- a/drivers/mtd/maps/l440gx.c > +++ b/drivers/mtd/maps/l440gx.c > @@ -86,7 +86,6 @@ static int __init init_l440gx(void) > return -ENOMEM; > } > simple_map_init(&l440gx_map); > - printk(KERN_NOTICE "window_addr = 0x%08lx\n", (unsigned long)l440gx_map.virt); > > /* Setup the pm iobase resource > * This code should move into some kind of generic bridge It looks more like a debug message, maybe turn it into a KERN_DEBUG? Usually people do not run their kernels with such a low trace limit. Thanks, Miquèl