Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp733144ybt; Fri, 10 Jul 2020 10:57:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSu6cv2+tRVKl7s8N572F5R6w36y7RhPcj/C0Ff4UceLyu5r7H7YpeI4r/lXCezANVqIUf X-Received: by 2002:aa7:c353:: with SMTP id j19mr30943042edr.219.1594403860638; Fri, 10 Jul 2020 10:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594403860; cv=none; d=google.com; s=arc-20160816; b=NHtLdlNXqdPgImjYyQeP5prZg/626e3pnVG0PLNnESN1NbXDodr8TdDHkPx8VEYNwt 5BBDPvyzbP84yTjJI3hfUNg661wb/UrkTw/IuzbKZLW0Fl0WZcQR8KKKuHy7Rth2f3rD SDJboa4PGzBgM7uYbmMkug8iT1aSyh0boQEl8s2Wkoz/7iME1zULkP3HlX3fh/u5UQXw vNDzP+2A4ZvPsR2hNFSsFnXI4AXfpH6RNGWOpMuPsGvEYMmMOzDSPAg2IBcQekWLGUw0 NDQNlKPmbCJEQP+pvaZ7qeVYK9kHD9JVdxuGnIiPLzh8fsGtNTn9eReWmyIPtXyxvgCk Uoeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=CWu1Z0BYloqV9D6t8zN1cdHokk6tW0+qltYl0bgVnBU=; b=x50HKQ5HUJgZBCObgjGXmCgegRxJQtW6YvZd5yh/o4j78HYaOzDyTGIDWM2O89zH9K liknIIy9eDVOY+3DS8XNMSMSzIcj2cxVOua5aaVkQn8+4sCqwBjQGg6PMSs5rQSMOdPr pYtJ8MOzzcBkY09LYKYoBNbxnoIXo2pyvHTZ/X8md6UZ+sUITaxJcH2BPlQe0e6OIjiB bm80qMSIYoXAVaL8l6s4Lz9ypMTGhmv1BVo+A2ac01miF1QNaXyVXwlS51TSiSswZbmh q43J2et83LVe8l7PdIqHkiXhlyqrKhGgcox5bgmLrp5VBbyQ8Zdz2u7r5E8odONObHHg o+NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si4289976ejw.73.2020.07.10.10.57.16; Fri, 10 Jul 2020 10:57:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727059AbgGJR4r (ORCPT + 99 others); Fri, 10 Jul 2020 13:56:47 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:51740 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726820AbgGJR4r (ORCPT ); Fri, 10 Jul 2020 13:56:47 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 83AFE20037; Fri, 10 Jul 2020 19:56:44 +0200 (CEST) Date: Fri, 10 Jul 2020 19:56:43 +0200 From: Sam Ravnborg To: Suraj Upadhyay Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 0/4] drm: core: Convert logging to drm_* functions. Message-ID: <20200710175643.GF17565@ravnborg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=f+hm+t6M c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=e5mUnYsNAAAA:8 a=D_To5w3uyQa5RXxL-6MA:9 a=CjuIK1q_8ugA:10 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suraj. On Tue, Jul 07, 2020 at 10:04:14PM +0530, Suraj Upadhyay wrote: > > This patchset converts logging to drm_* functions in drm core. > > The following functions have been converted to their respective > DRM alternatives : > dev_info() --> drm_info() > dev_err() --> drm_err() > dev_warn() --> drm_warn() > dev_err_once() --> drm_err_once(). I would prefer that DRM_* logging in the same files are converted in the same patch. So we have one logging conversion patch for each file you touches and that we do not need to re-vist the files later to change another set of logging functions. If possible WARN_* should also be converted to drm_WARN_* If patch is too large, then split them up but again lets have all logging updated when we touch a file. Care to take a look at this approach? Also please consider if coccinelle can make this job easier. There is a lot of files... Sam > > Suraj Upadhyay (4): > drm: mipi-dsi: Convert logging to drm_* functions. > drm: mipi-dbi: Convert logging to drm_* functions. > drm: edid: Convert logging to drm_* functions. > drm: fb-helper: Convert logging to drm_* functions. > > drivers/gpu/drm/drm_edid.c | 7 +++---- > drivers/gpu/drm/drm_fb_helper.c | 2 +- > drivers/gpu/drm/drm_mipi_dbi.c | 4 ++-- > drivers/gpu/drm/drm_mipi_dsi.c | 15 +++++++-------- > 4 files changed, 13 insertions(+), 15 deletions(-) > > -- > 2.17.1 > > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel