Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57F3BC3E8C5 for ; Fri, 27 Nov 2020 21:16:55 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CD5A621D46 for ; Fri, 27 Nov 2020 21:16:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CD5A621D46 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C7926F40E; Fri, 27 Nov 2020 21:16:53 +0000 (UTC) Received: from smtprelay.hostedemail.com (smtprelay0109.hostedemail.com [216.40.44.109]) by gabe.freedesktop.org (Postfix) with ESMTPS id 33C346F40E for ; Fri, 27 Nov 2020 21:16:52 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 49B1E18225647; Fri, 27 Nov 2020 21:16:49 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: way41_430dcee2738b X-Filterd-Recvd-Size: 3518 Received: from [10.0.0.26] (cpe-23-242-83-182.socal.res.rr.com [23.242.83.182]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Fri, 27 Nov 2020 21:16:43 +0000 (UTC) Message-ID: Subject: Re: [PATCH v1 02/28] video: fbcon: Use pr_debug() in fbcon From: Joe Perches To: Sam Ravnborg , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Lee Jones Date: Fri, 27 Nov 2020 13:16:41 -0800 In-Reply-To: <20201127195825.858960-3-sam@ravnborg.org> References: <20201127195825.858960-1-sam@ravnborg.org> <20201127195825.858960-3-sam@ravnborg.org> User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vaibhav Gupta , Tetsuo Handa , Peter Rosin , Michal Januszewski , Laurent Pinchart , linux-nvidia@lists.surfsouth.com, Jiri Slaby , Arnd Bergmann , Florian Tobias Schandinat , Evgeny Novikov , Saeed Mirzamohammadi , Daniel Vetter , Thomas Winischhofer , Thomas Zimemrmann , Bartlomiej Zolnierkiewicz , Jani Nikula , Aditya Pakki , Xiaofei Tan , Nathan Chancellor , Alex Dewar , Jason Yan , Greg Kroah-Hartman , Qilong Zhang , Randy Dunlap , Gustavo Silva , Ferenc Bakonyi , George Kennedy , Kristoffer Ericson , Alexander Klimov , Jingoo Han , Peilin Ye , Mike Rapoport Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, 2020-11-27 at 20:57 +0100, Sam Ravnborg wrote: > Replacing DPRINTK() statements with pr_debug fixes > W=3D1 warnings. > And moves to a more standard logging setup at the same time. [] > diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/= fbcon.c [] > @@ -1015,9 +1007,9 @@ static const char *fbcon_startup(void) > =A0 rows /=3D vc->vc_font.height; > =A0 vc_resize(vc, cols, rows); > =A0 > = > - DPRINTK("mode: %s\n", info->fix.id); > - DPRINTK("visual: %d\n", info->fix.visual); > - DPRINTK("res: %dx%d-%d\n", info->var.xres, > + pr_debug("mode: %s\n", info->fix.id); > + pr_debug("visual: %d\n", info->fix.visual); > + pr_debug("res: %dx%d-%d\n", info->var.xres, > =A0 info->var.yres, > =A0 info->var.bits_per_pixel); It'd be nicer to reindent the subsequent lines too. > @@ -3299,7 +3291,7 @@ static void fbcon_exit(void) > =A0 > = > =A0 if (info->queue.func) > =A0 pending =3D cancel_work_sync(&info->queue); > - DPRINTK("fbcon: %s pending work\n", (pending ? "canceled" : > + pr_debug("fbcon: %s pending work\n", (pending ? "canceled" : > =A0 "no")); perhaps: pr_debug("fbcon: %s pending work\n", pending ? "canceled" : "no"); _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel