Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6025700imu; Mon, 21 Jan 2019 01:44:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN4KNZmCGruD7d/vxPwV/32yPcnSw/kgkXCCpV3YCNY4t8Zfvk5l9rfTil7dvzal3dginbdx X-Received: by 2002:a17:902:5ac2:: with SMTP id g2mr29519301plm.313.1548063891385; Mon, 21 Jan 2019 01:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548063891; cv=none; d=google.com; s=arc-20160816; b=WBT+qG1QlsFB0tX6hjt0Bo2CTOYj2Reoj2hTmAmOR1/a6Nif7LC2l+9YBKLA0xC/eY puoqhhBnePhe/4JqPTn7QA9m35SYgJA0efGbyKX3VzGBaeRUqbvd2LDUUWLioiRxNRox JX6qDqFFOVFaDqO5b4rjxdxsiwMXRTWeEMjJ1TOVQbMjjYfbVL+ZEqSglysQywDNJik/ ui2WycHPj3X5n3MWa+K+A5lVh0Ke50+Uch8YH+Ls1hwL/dSFtQp11VTlCuBbQpsoj75w /TMLacgsn9WBM1k3YwOVTnDsITD8uNzEA78sD64Gwoe+03HnY9HfaSrToWIKm36wobIB WzZQ== 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=ck6DLVRueLESAEqb4AoHP+TEzN+C6zqqxI0IKduFKsg=; b=AorVJ3fPE6+u3Ii+kzpcDXa1yq5rzFCNtUJQl71lZmvt/e+XV4onc+4rRxxQiqJ2WQ NcfRxJrN3Bj9Be192r/DFfmxxRkydoTKotiJICm5AJRZmvoeFXlbVNyWTSHRbi9/WX9J BHfzLtuin1dTCwPSCukRi9MlL5lOMJnLw9bG/EhFNNWqBeQoraDc40R1rhGMz4on6bSN plSzs3PS5aF1I5P109s89yWXvGRDx8c3QnA7ZHRrN3XpCxUfw1gByycdU+oNNmUfLLMx kht00aT+oT5cLyrzcNsRqFPcNV2aBWwgszIsjK3MV/YgETsQvDQZJXgR4oagYJ/8Cdvk lW0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fgAsy/X1"; 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 a16si11858142plm.365.2019.01.21.01.44.36; Mon, 21 Jan 2019 01:44:51 -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="fgAsy/X1"; 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 S1728163AbfAUJnF (ORCPT + 99 others); Mon, 21 Jan 2019 04:43:05 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33442 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726872AbfAUJnE (ORCPT ); Mon, 21 Jan 2019 04:43:04 -0500 Received: by mail-wr1-f67.google.com with SMTP id c14so22521713wrr.0 for ; Mon, 21 Jan 2019 01:43:03 -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=ck6DLVRueLESAEqb4AoHP+TEzN+C6zqqxI0IKduFKsg=; b=fgAsy/X1T8FkFz6QZlONhE+x+uB651Hhgt5TQ62+Cwu9FLLUQKQRK23xxkJnhKtba/ sUpW5kRl054HPY1UgDlN0sN9WNoDilzFzG+Yzg+FMIuQ2xwxlEe33FNrwH1te+Fp7Zof CZMdN1thqAa40adQvQaPZEtMk2I2X5VRxkNK4= 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=ck6DLVRueLESAEqb4AoHP+TEzN+C6zqqxI0IKduFKsg=; b=GUMsK3nhPIpNViKuq30laqPCB8WgBQTcblXX81XSoum76JagCmx+LisQhcQ/r1ABYe +HTPAWHwPwNFhvJdj4QxguqeO+OGBErxSGKHqeWunIGURIzUFhxxH5sJMjJaFmrfB7ge TiEkvv6rsw/Py9LRhymbtUAuX+wVUXDY3jXm75YeZzL37C0zfKQVJ0SwHSKx48UV2tp2 NichFPnyXIyhJ+6tbMaIhyeqno2CGOH6/VWExnLi9xP3PoyyH2oBjLWkT42YnK/pwNL9 HhdxnFaPxQmuDgh8VbHcFzJs85bSU9QJTTAqn6wEi/mvVuKAYb8ugYlnTSWJJlj5xl/Z cltg== X-Gm-Message-State: AJcUukcaIEGnSZfnUjh74nnJlU7mb5oeDOkYe/npToQkdqTijGYvGPqZ HxkitCn5NmAY+TD6mvM9NWfzEuFd7rw= X-Received: by 2002:a05:6000:11c3:: with SMTP id i3mr28676742wrx.221.1548063782484; Mon, 21 Jan 2019 01:43:02 -0800 (PST) Received: from localhost ([49.248.61.1]) by smtp.gmail.com with ESMTPSA id o5sm31176759wrw.46.2019.01.21.01.43.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Jan 2019 01:43:01 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, edubezval@gmail.com, swboyd@chromium.org, Zhang Rui , Daniel Lezcano , Viresh Kumar , linux-pm@vger.kernel.org Subject: [PATCH v1 1/2] thermal: of-thermal: Print name of device node with error Date: Mon, 21 Jan 2019 15:12:22 +0530 Message-Id: <04fc346fe98b9ada6a2bf8f18103fe2fe20240a4.1548063429.git.amit.kucheria@linaro.org> 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..2df059cc07e2 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); 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); goto free_tz; } tz->polling_delay = prop; -- 2.17.1