Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1543594imm; Fri, 12 Oct 2018 21:57:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV634i/z6hKK3+iBUGB7fLoAc89eia3egPPR275qVh8XtpN9+YUQvdEuzRVrR4Az3YXOXAkyB X-Received: by 2002:a63:6ec4:: with SMTP id j187-v6mr8231332pgc.3.1539406628939; Fri, 12 Oct 2018 21:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539406628; cv=none; d=google.com; s=arc-20160816; b=XT80E5oBIpqmiT6KObT7jxUDxgwoXmkjr4RtaP57e/bfldVz0qb1SdGSowLS8iQe0H EKf3HJORoHumB1djNXau4uipM0/2ciQzgODp5un+iIlsRxMIp9rofYUgzXxuyoqgIspL gQzA1jpP/GgX82JZPK4uKEdVEHf59WZLwRnatONIYVmYFPN9WqIB/jXs5vGMbjsVC3qF Xjz5weHQVP7ARiEHOioCXVQhRB76hDTxbQwfDSvzb0zkBdkXGojvy1V8xZOcP6j3wrMZ 7WQNe+B/v69U2tkYHWMMHGONckLiSBmUk3az02NhZm9ZfykuvrYUJQpSLxfvQ78mrgol PgWg== 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:message-id:date :subject:cc:to:from:dkim-signature; bh=7GuCPMc1W5/wwPeXRUqL1/hLo5USFMzrx8T5Pgg4dsU=; b=XGDlqzw+KdUg4xlKwbiMma67kX7bMNMT4Fe7GwW+LXyhmM442zN7oc6r79MAz/ffGY BZj6Zkj9dnaSxC4WsdkZuS59QaqzV6UBOwoW0pJqvNEOoygT5os4pzhseK9wqPCTlfpu QUDrHAxGN3mm5uxP1e7lDU9jx/5kLS5qaHDjDu8jueYwKNEfqEFV95L9+PU9b/3lbwFy Zo6xdFfs1I9m7xvzkJRCxXBOcHj4R43P+QMvnLxT6riTArPE2GJd5qDC3KYq2Y+bOlng PfUWidz3HdZhe05iDhgx04pjj947O5nlxbA9cqnLVvVzqO39BgP7ztAGZd+gjELHW7V3 aOgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="vDU/R59U"; 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 c27-v6si3335717pgc.461.2018.10.12.21.56.54; Fri, 12 Oct 2018 21:57:08 -0700 (PDT) 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="vDU/R59U"; 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 S1727005AbeJMMa6 (ORCPT + 99 others); Sat, 13 Oct 2018 08:30:58 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33372 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbeJMMa6 (ORCPT ); Sat, 13 Oct 2018 08:30:58 -0400 Received: by mail-pf1-f193.google.com with SMTP id 78-v6so4778233pfq.0; Fri, 12 Oct 2018 21:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7GuCPMc1W5/wwPeXRUqL1/hLo5USFMzrx8T5Pgg4dsU=; b=vDU/R59UxNgBUQdVIijhDfniVNLzjvH2HotEL1fSH5I9SWYnqEjIKe8VQWgSTQqCMa PNzB7hXsbj++52zYAxk6zYD0la1P/BJ/YF97yreSV8ZMo20FOi87nzlfXFvZd6PI0OuZ tK41qaQoS20V4oUOgrtFSSuRNndG/Mko4b7lXmrsNvp5VTFMsSmajRCg2brt5O6Q+aBp HX4K5MzZyY5bodEdhpbleIIZekaGjGSXR+HiXwA+aTP2kvASdT/DdeIoLT9Bsfz8Deaz 57XIvE//A8p+UcfvNNZAOEkY7tI6Jft+dugaGawBeLJPyVwp6KR7FWh7DuFUBoBn7Qcw YqMg== 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; bh=7GuCPMc1W5/wwPeXRUqL1/hLo5USFMzrx8T5Pgg4dsU=; b=DviZZC65fAw46M/H+rCvyWOVAzJLpsxn1nMTqfUZgqZ5xWmGKIkJjaiT7cOHCRGpYC wRxxTCb9e24mYFCmqyK5fggpE/7vytur1hMK9Q3bZIOp8xGyUeed76lsPFgIu0u8xjYW fQZxPaACAVKpgQpboTmPCTWfaEmLNQomvt/0cLYaZKHJMwpNx8G1cQlNIsALsU7Yt4Fr 0+5a8mj2SImGMZ+UkJoPrCJYepQllkNMhJZSSrv1XafXpGGIXP8J+UHzQxE7gaIazYay PXnSp7GF5/WPU4NqhSumLbLJJv0hPQP3PPBWYUuC+em+W9Otfjo6To9Gg4+h1ELt2IJs aSug== X-Gm-Message-State: ABuFfohOhODO5P5PePo+xKhIJqCIh7h4XD5GJJEwjKTTFoK6OjQsVWgd QMH+fL0ZSG+whGqcIvPxJZU= X-Received: by 2002:a63:4a0e:: with SMTP id x14-v6mr7986852pga.34.1539406517331; Fri, 12 Oct 2018 21:55:17 -0700 (PDT) Received: from localhost.localdomain (c-24-6-192-50.hsd1.ca.comcast.net. [24.6.192.50]) by smtp.gmail.com with ESMTPSA id h87-v6sm6959462pfj.78.2018.10.12.21.55.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Oct 2018 21:55:16 -0700 (PDT) From: frowand.list@gmail.com To: Rob Herring , Pantelis Antoniou , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Alan Tull , Moritz Fischer Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-fpga@vger.kernel.org Subject: [PATCH v2 10/18] of: overlay: make all pr_debug() and pr_err() messages unique Date: Fri, 12 Oct 2018 21:53:30 -0700 Message-Id: <1539406418-18162-11-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539406418-18162-1-git-send-email-frowand.list@gmail.com> References: <1539406418-18162-1-git-send-email-frowand.list@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Rowand Make overlay.c debug and error messages unique so that they can be unambiguously found by grep. Signed-off-by: Frank Rowand --- drivers/of/overlay.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index ee66651db553..a3990c20e210 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -513,7 +513,7 @@ static int build_changeset_symbols_node(struct overlay_changeset *ovcs, for_each_property_of_node(overlay_symbols_node, prop) { ret = add_changeset_property(ovcs, target, prop, 1); if (ret) { - pr_debug("Failed to apply prop @%pOF/%s, err=%d\n", + pr_debug("Failed to apply symbols prop @%pOF/%s, err=%d\n", target->np, prop->name, ret); return ret; } @@ -557,7 +557,8 @@ static int build_changeset(struct overlay_changeset *ovcs) ret = build_changeset_next_level(ovcs, &target, fragment->overlay); if (ret) { - pr_debug("apply failed '%pOF'\n", fragment->target); + pr_debug("fragment apply failed '%pOF'\n", + fragment->target); return ret; } } @@ -570,7 +571,8 @@ static int build_changeset(struct overlay_changeset *ovcs) ret = build_changeset_symbols_node(ovcs, &target, fragment->overlay); if (ret) { - pr_debug("apply failed '%pOF'\n", fragment->target); + pr_debug("symbols fragment apply failed '%pOF'\n", + fragment->target); return ret; } } @@ -879,7 +881,7 @@ static int of_overlay_apply(const void *fdt, struct device_node *tree, ret = __of_changeset_apply_notify(&ovcs->cset); if (ret) - pr_err("overlay changeset entry notify error %d\n", ret); + pr_err("overlay apply changeset entry notify error %d\n", ret); /* notify failure is not fatal, continue */ list_add_tail(&ovcs->ovcs_list, &ovcs_list); @@ -1138,7 +1140,7 @@ int of_overlay_remove(int *ovcs_id) ret = __of_changeset_revert_notify(&ovcs->cset); if (ret) - pr_err("overlay changeset entry notify error %d\n", ret); + pr_err("overlay remove changeset entry notify error %d\n", ret); /* notify failure is not fatal, continue */ *ovcs_id = 0; -- Frank Rowand