Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3405948imu; Mon, 14 Jan 2019 02:23:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN4VaF7R40ip6G5i+9DiqNZJH2ZBc4nMv3DiqhdeZ82ocy9NgwCAgn+4HwDbR/ZNw0dFEuUf X-Received: by 2002:a17:902:59c8:: with SMTP id d8mr24702810plj.116.1547461396769; Mon, 14 Jan 2019 02:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547461396; cv=none; d=google.com; s=arc-20160816; b=RrL6eyzX/nF+VWhJIS+Jc5UT8VvfwMX30UF+fgNecXF2h78UBQCVW+up/tt/BmHuV2 hxfpILIEw1AtqvaebURrhQTtgp1eMkCIfo/H4ldqFhKmoN9fe60xizBeCKwxOzX5Cwe/ uEJUQVxY4LKxqhJ4NSIqXQ0pW3vUE9PrvO5aDvZZhpBHeGoscgQ3el04o8slNYZmhJw5 4XVFCum81JiQOGCDlFODk4+3gpaiYAC6VRJmEFD0w2rMHZ5R2u02lH055xmA2r9NrFX3 KxiCQUvNi+1IlMfa0zYsJT5cN7sLhtAEqGLX8vPBv71ACeRbZeQiAUHMNVBuoxHvD7gK wQBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9SBw2Z8hokpAYRi9yYWIqHgwrnBSoCdeIR1YxJHRWTA=; b=CCwVqSt0g5eVW2KHOE1qeYWHNn9AkWZOFb+fs/jLZq5fU+E04dTRDV1owLJll9aNgu TpeiKPYK3lgz4VCLa1KmvnPTu9YXYP0r+VVi28zXRfqFZNzMlCWFxua9zupKaBp1XVkg 1GL2e0bBVrjWkhR8YDnLfJ0TKnbFcarq9968zN28e1vH7vKY4nl6AuiCNT308f7Ltevl H0YaacPdeaoabY5eaVWZLQL8K6I90jXp/dIoR2QDauu1UHDkcABCT6UhMC5LeZAuJBKk sD3fStaa3dmrSc5PA2bWbFufhbFIYmsPIhhFsojhFoxsoEC6upfCPnniCW6Ch0+uHDtM wIOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RFTdFL04; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si13003pfk.172.2019.01.14.02.23.01; Mon, 14 Jan 2019 02:23:16 -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=@linaro.org header.s=google header.b=RFTdFL04; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726744AbfANKVe (ORCPT + 99 others); Mon, 14 Jan 2019 05:21:34 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52397 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726731AbfANKVc (ORCPT ); Mon, 14 Jan 2019 05:21:32 -0500 Received: by mail-wm1-f67.google.com with SMTP id m1so8296304wml.2 for ; Mon, 14 Jan 2019 02:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=9SBw2Z8hokpAYRi9yYWIqHgwrnBSoCdeIR1YxJHRWTA=; b=RFTdFL04O0QYIhX0JBnUjQGAz3APxexoATMRsqvN4V8qZZgP+ccNCDl2usSW0Yp29y Nb5EVStf6xppuRlyc1Jov52MVq+vpMsi7C9J2BqcCfgcFJYb2kRtynQc1LyfZDLD/C0V bwJOnezzKErTQq8dgddkCsY5zpP8pCyaO5phY= 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:in-reply-to :references:in-reply-to:references; bh=9SBw2Z8hokpAYRi9yYWIqHgwrnBSoCdeIR1YxJHRWTA=; b=B0qobJZ6sB5DFkHT0eXR39qfpGyotfE9DTdTC5zcgnFcNCX3X4JVCM6UM5o664Rcj8 8Y/3LYPoM609PCdftOm19RYzZhtBiKe3CHaJtaz3Qv0ORHlJrIL6xlSwqHOfqrXzZHEZ fhvo2kdr3HapcsFRFHWd9ZF2yTIXxM5i6ndthvHPGD5eg1L6jsVPcosh70xiuK+2FIdt wBJ6P+iTzcKpWCTeDJDq91ap1W8gFaWhDlUuz5s8dgKpe98XjZwVmswa/0PH54qpxyIH MR97550HmXAsUH6G1qBWYyyEF9EURRsqfUIqhxwcHNJjxGJvWr8P2hwpXYcYjWYqHWKg i2Ig== X-Gm-Message-State: AJcUukezRAKAWsgaYjR6/3Bm5ihn+zJiUazsBw8fUtvA198ky7C3UQFE PDDCFO/n8w5w7ymUHXuM1ocdwZrmoy8= X-Received: by 2002:a7b:c5cc:: with SMTP id n12mr11292507wmk.149.1547461291120; Mon, 14 Jan 2019 02:21:31 -0800 (PST) Received: from localhost ([49.248.81.155]) by smtp.gmail.com with ESMTPSA id x81sm27364850wmg.17.2019.01.14.02.21.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 02:21:30 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, viresh.kumar@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, tdas@codeaurora.org, swboyd@chromium.org, dianders@chromium.org, mka@chromium.org, Zhang Rui , Daniel Lezcano , linux-pm@vger.kernel.org (open list:THERMAL) Subject: [PATCH v2 2/9] drivers: thermal: of-thermal: Print name of device node with error Date: Mon, 14 Jan 2019 15:51:04 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make it easier to debug devicetree definition in case of errors. Signed-off-by: Amit Kucheria --- drivers/thermal/of-thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index 4bfdb4a1e47d..08c3ccbdacf8 100644 --- a/drivers/thermal/of-thermal.c +++ b/drivers/thermal/of-thermal.c @@ -867,14 +867,14 @@ __init *thermal_of_build_thermal_zone(struct device_node *np) ret = of_property_read_u32(np, "polling-delay-passive", &prop); if (ret < 0) { - pr_err("missing polling-delay-passive property\n"); + pr_err("%pOFn: missing polling-delay-passive property\n", np->name); goto free_tz; } tz->passive_delay = prop; ret = of_property_read_u32(np, "polling-delay", &prop); if (ret < 0) { - pr_err("missing polling-delay property\n"); + pr_err("%pOFn: missing polling-delay property\n", np->name); goto free_tz; } tz->polling_delay = prop; -- 2.17.1