Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2372838ybp; Thu, 10 Oct 2019 06:32:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWLUc+PWXPK9kTg4ia4J60ALHN+Wy5doVxEuVApsGj4uIWcFpasr8FMr0btcc89NRmkVDm X-Received: by 2002:a05:6402:1a3b:: with SMTP id be27mr7999217edb.210.1570714341653; Thu, 10 Oct 2019 06:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570714341; cv=none; d=google.com; s=arc-20160816; b=anOwAZiztjYdyj3F4C86Q9XxqgCKxTULJ9GzGsOc7JrubzYCfFg/Mkq28c3NpKm5Kb Otni2JeNPBFP3vYNKss0HnFfVcBiqSpp+cjAnkvYVN9rRcZTfQUZCqF5PLSTTDIVExdy T26RdU4xOTSuO7AwcVhagZ6i33JiBsoGbcCBQIR+4LtiksfjkvTsx2NuXlONkvrxzd1T JJjqct/vYXKu08Py41kziW1Scs3mu6iVNCEQCqXo6DD9Xg0AAsFrVuc2C/FUxs3BvNis 5yvnu6QJsefkpvQNLk/Jq4+fMPWoi82wcFJbn87sTPQjn0ilBgM99OiCIcLQh8rpiOfe Wn3w== 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=8e/oKWLpAi7RkwzgCN61pe/RaBbJyOrAHtETS4Onubw=; b=L2p/JOYNUrolG7aKCZ8HGjpGCqCrUTp4w4uSi9m7jJLAU8PSAfuBSO8lu+Byf1ZfCx rUqK3AHOMzlBVsWNaqg+PS3uMt74528qq5FlPryut0bUwEyRMpVbTi4s/jCbSdcweb0r fBDdJyXzlnR+Z7MeLlu7bMRLyeCM+7zJkjyi3+4pVsRqZX5GnT+6BS0Sxpb9fHyLTsSl apnV4sRBM1vQet8gOlH6PfIj3kYSjhrf7O+DzO29HjYIxzfahxDj5xJt9wl/RMmplJYB +foguByN+ykKq96rfiZ2HglaBJt8EawL/U7Kren5mSSGqJvTqdywNaz2Hh2GJMxJ+b6f HSoQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fk4si3297790ejb.161.2019.10.10.06.31.57; Thu, 10 Oct 2019 06:32:21 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388132AbfJJNbk (ORCPT + 99 others); Thu, 10 Oct 2019 09:31:40 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49652 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727797AbfJJNbk (ORCPT ); Thu, 10 Oct 2019 09:31:40 -0400 Received: from dhcp-172-31-174-146.wireless.concordia.ca (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id B004B29098D; Thu, 10 Oct 2019 14:31:38 +0100 (BST) Date: Thu, 10 Oct 2019 15:31:35 +0200 From: Boris Brezillon To: Fuqian Huang Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, Marek Vasut , linux-mtd@lists.infradead.org, Miquel Raynal , Brian Norris , David Woodhouse Subject: Re: [PATCH v2] mtd: maps: l440gx: Avoid printing address to dmesg Message-ID: <20191010153135.2b363c27@dhcp-172-31-174-146.wireless.concordia.ca> In-Reply-To: <20191010084019.5190-1-huangfq.daxian@gmail.com> References: <20191010084019.5190-1-huangfq.daxian@gmail.com> Organization: Collabora X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Oct 2019 16:40:19 +0800 Fuqian Huang wrote: > Avoid printing the address of l440gx_map.virt every time l440gx init. > > Signed-off-by: Fuqian Huang > --- > drivers/mtd/maps/l440gx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/maps/l440gx.c b/drivers/mtd/maps/l440gx.c > index 876f12f40018..ebe37edc8e88 100644 > --- a/drivers/mtd/maps/l440gx.c > +++ b/drivers/mtd/maps/l440gx.c > @@ -86,7 +86,7 @@ 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); > + printk(KERN_DEBUG "window_addr = 0x%08lx\n", (unsigned long)l440gx_map.virt); pr_debug() please, and use %p instead of this %lx with a cast. > > /* Setup the pm iobase resource > * This code should move into some kind of generic bridge