Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4385043ybc; Fri, 15 Nov 2019 03:55:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzPk4JCiaxt4+fi+o3aMPI1fDagf65SItlAdq+mQuF+aeskwJfsM5zQJOD7Pl4pyyH4oWsl X-Received: by 2002:a17:906:1a47:: with SMTP id j7mr376785ejf.232.1573818937986; Fri, 15 Nov 2019 03:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573818937; cv=none; d=google.com; s=arc-20160816; b=l/qplfGhDTEre/RpnQl1Aq894lxtgJm8bpseyld+2+UooB2T9i4BrTFMTuh6bkmFg7 R6HA28hLu+SWS5D+zD1mq2b1GY6JgYCmhPBh7OURsRa3oPNHcPcs3YqteLNnBbrskWQn biCVOxEu8oPUpV3GZtkhQujSntydbLj6rIbX+JTbXoIFUlf6G0HMP2Dv/3Hj46uM+jPD UcQlKT7pgc3HJbnYMh9NqeJjrM3Hktf8Y9ovYiUkDOYUYChfbYLu5on2FInEFSTPDXAr 4j/0pDme8YGYggdXW5G5sRPu+z8QalC8ETdsbUduh2JXrssRRVyb4iPD/ME1yiUn9FHG d3oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from; bh=RJliR2ngcA34W0gCsq7yVANzyskOx4EpMrAs2wb9VKg=; b=ixn3VtXHZUaCFVzlnslAMyd8Rzj4df5WUv08tFVrGAzA2XOlahIp6HMB6TKMptsBWE SeU9SNw7SwndJQ1J7gHqHa6iyJfUeYilROyZju2VZiiNmsowDxL3hIqPaM5qvhJFjWJg x/rFoOoucf1IW4OOMcd6GDEOhZTnL0K2/McaXb6THhb4MkmBNv8FqAMuP8X7ZOCcJDWT A+3cG/7Lb1UiOBV8fL2WdiNj3jxJLuc1B1XiJ0fp80ZJS3cdkLeQm7m3km27kXEafhhp pFb0gDevch+w0rs1buCG4Jq9aLW4gCYg9pno24YJ24yZM+KW3vajNYYvfcxGxNPMcKIQ 6Vvw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c26si6345383edc.416.2019.11.15.03.55.13; Fri, 15 Nov 2019 03:55:37 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727344AbfKOLxB (ORCPT + 99 others); Fri, 15 Nov 2019 06:53:01 -0500 Received: from mga07.intel.com ([134.134.136.100]:61657 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727210AbfKOLxB (ORCPT ); Fri, 15 Nov 2019 06:53:01 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2019 03:53:00 -0800 X-IronPort-AV: E=Sophos;i="5.68,308,1569308400"; d="scan'208";a="199178566" Received: from jnikula-mobl3.fi.intel.com (HELO localhost) ([10.237.66.161]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2019 03:52:56 -0800 From: Jani Nikula To: Wambui Karuga , maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, hjc@rock-chips.com Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] add new DRM_DEV_WARN macro In-Reply-To: <20191114132436.7232-1-wambui.karugax@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20191114132436.7232-1-wambui.karugax@gmail.com> Date: Fri, 15 Nov 2019 13:52:53 +0200 Message-ID: <8736ep1hm2.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Nov 2019, Wambui Karuga wrote: > This adds a new DRM_DEV_WARN helper macro for warnings log output that include > device pointers. It also includes the use of the DRM_DEV_WARN macro in > drm/rockchip to replace dev_warn. I'm trying to solicit new struct drm_device based logging macros, and starting to convert to those. [1] BR, Jani. [1] http://patchwork.freedesktop.org/patch/msgid/63d1e72b99e9c13ee5b1b362a653ff9c21e19124.1572258936.git.jani.nikula@intel.com > > Wambui Karuga (2): > drm/print: add DRM_DEV_WARN macro > drm/rockchip: use DRM_DEV_WARN macro in debug output > > drivers/gpu/drm/rockchip/inno_hdmi.c | 3 ++- > include/drm/drm_print.h | 9 +++++++++ > 2 files changed, 11 insertions(+), 1 deletion(-) -- Jani Nikula, Intel Open Source Graphics Center