Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3188289ybc; Thu, 14 Nov 2019 05:26:06 -0800 (PST) X-Google-Smtp-Source: APXvYqx4ywSFMwsCcyBtKhoM/35xR6gbYoDVgPT/ISmB9GEcyK3+7NOXzqEDKz883OHval8lanof X-Received: by 2002:a50:ff19:: with SMTP id a25mr1212870edu.181.1573737966093; Thu, 14 Nov 2019 05:26:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573737966; cv=none; d=google.com; s=arc-20160816; b=IggQSc1CYNOCtcvDNq0CkqYJeIYunLt7Pgtc372UUIOCSZP8VxU/N5VQUysuhxPmTl 1U7FcOURAMg5u+wHqIvnWYn8NpmymPz8FZVxL2yHjw0FOZ1NezI3ZYSCBkM+oo8QC2uo tBpdjNi71gmWR0e8l+tug2H2joC4a4rn6gCfUzeoKxl10zyWANCeI0nM+RBxJSF8fm2f gMcTxRDNFbR6/B17T7EKHA7/FuXPgJ+wfwpaEbhErABxwegU9oecIfZcT05AoBWfRC0F l5isPybYW6tloI2w8Gj93vd+sstzXBrPEeApi9wPWwyv5ig/TviKUP74at6HR+Gr9giJ fNgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=mH8gSNIgKvgPetxbf7rz5MC4m16Vu7th8OeEJ1GZ3WA=; b=UqKV4R+9XuPTTuWqE5l1JpMcvySC68A92ExEvb8pacrw7+nljCH8H2mcQlBelvHT/k TNFlePPVxM5XzVXGHyKQTamtD0Dqg4T6qIY2cT8oDHtBPFYKKlkb9Y2e0/EE7+mIwBq2 niisgWiib7rZVe8IsJlyT7DGd6tsAjhSxELTnZEymfRSSAuo2nCUIZC5QX1uZQp6WNny Vcorj0twJr6Q1aWqx4KhBbGrVgLNAOgJqTwooPh8xY9kjXjCNU8XV0H+qEtY9Xq12C7K DYkp+pLMTgbfT6yWpAf81UgQgtv6VQsdTwS7bc44i+RVkNNlOSZeGs/KNACWZN1DyWLW mlew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Bpr0h/OX"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 17si3285198ejt.419.2019.11.14.05.25.41; Thu, 14 Nov 2019 05:26:06 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Bpr0h/OX"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726912AbfKNNYt (ORCPT + 99 others); Thu, 14 Nov 2019 08:24:49 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54774 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726214AbfKNNYt (ORCPT ); Thu, 14 Nov 2019 08:24:49 -0500 Received: by mail-wm1-f67.google.com with SMTP id z26so5651442wmi.4 for ; Thu, 14 Nov 2019 05:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=mH8gSNIgKvgPetxbf7rz5MC4m16Vu7th8OeEJ1GZ3WA=; b=Bpr0h/OXlj7EmeJlqKo5Wxz48vyUoDHAdh0gSAeyCXdohmi5MPgIVj/TyCBuekAhF3 gFp1ZwAyxRa3FeV7WaFB4OKxsHBcczf9n3bWeyGQocy/bQpENfSzWnxjFeLPkLUP7jZh oXApnfs7K0AeY1U4I6hYhIp5y1GAq+mMdoRjK7tzUcYNP0BghxA71HMGPkO9ouzmzmOk UgAOfc4VFrmZUladOiDb+8iL6BPdGlzmcCH2CRPNVHF5OY/2EoZBPhJRAaJWei+bhj1j Q25DDOekDlNrc0KXWe7VfOidfEK0JbYFGucPhFe/0fHohJAUZ/Sz5oOEHXwPXmvYmEMc +Mrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mH8gSNIgKvgPetxbf7rz5MC4m16Vu7th8OeEJ1GZ3WA=; b=LRyAXNfximTpfcr1ge335mfLPe/c6sYxXfSMER3mEwMta6nUN36EQDLkSwOxNpmI0Q N8s8DAi9iYafzLrPCzZxuqcPqxegalmN7yd/ea/HonjJY+4tueKS9E65KVIXVSsaeC4a 74yJg41Ef57UdduO6wOYvdCjcvA+SIK6nuqGGp2RwqyFspxopCDKCXEKys1xYA8nStD9 VvpspdlRCucIWRJ0nlj3OMWXrMJWNljGotKX3zlEUT1B2uT9WM1c1aR+XDRDJzodGvvO 1L8MfTBP8TG3v7yv4FZrTvwqT19GFYa2/zqi1BWew3sjwjVua+50VxL1O55jkMRsxG44 2jug== X-Gm-Message-State: APjAAAVGUqaWO+AfERMqfC9wj90n4Jf0bhZtwFYknFN59qcLqjJKNS3N +3ursKisFhTMZf+23zv2cBk= X-Received: by 2002:a1c:5fc4:: with SMTP id t187mr8347004wmb.142.1573737887726; Thu, 14 Nov 2019 05:24:47 -0800 (PST) Received: from localhost.localdomain ([197.254.95.38]) by smtp.googlemail.com with ESMTPSA id a8sm5838054wme.11.2019.11.14.05.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 05:24:46 -0800 (PST) From: Wambui Karuga To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, hjc@rock-chips.com Cc: heiko@sntech.de, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] add new DRM_DEV_WARN macro Date: Thu, 14 Nov 2019 16:24:34 +0300 Message-Id: <20191114132436.7232-1-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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(-) -- 2.17.1