Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp188669imm; Thu, 4 Oct 2018 21:15:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV61mUiS7KcBiC7bTWXoIOT1MA8je2v1xW2IF60/i25+P50W/Yv7Y1I0ResdNOAYtYF35urSs X-Received: by 2002:a62:c8c3:: with SMTP id i64-v6mr10129748pfk.183.1538712939371; Thu, 04 Oct 2018 21:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538712939; cv=none; d=google.com; s=arc-20160816; b=IWwf78EDrPepXcJLY/DRQn7MM0uscTRxWJMN5yV7thjVV8DBQhfcHCo15tU5eFId63 SNp9oc9vHj9ilZz84tPp970ibWPZuwmyTV8ktoVT+ZQzPlfwI2nmKvTbEYs8B1I2oz/I ZW99d54j8LyMd6v2x6hplPwtFxx56NfPTpJGa+WkzbsJUOJbfvfF83vaLQnudowfUwsF irWvDE6ueDhfBgD0ZjXQEDYFsqemUhrorepIuVmULGZUGxNG7Fy4kBVzF+PGPXDwtoPu eiWF3dzFYWPqZAag/ECnK4myd3QjKObwEhTS2VuHNxWj6rg1dAuE0KFigoa0TcqPxK57 vWAg== 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=CpxCZytTE2DMCbEh/CJMp/oXOlBJtuApwHXbU+m9rIM=; b=Vfv+rX1aWQNezUqDEuprawIZIY9IKWRjM0ize1GLCuo0e4klT2ZuLF0r6J2PnyIsUw ymD8A408dgqU8KtCnT9fWcdD6u+46mG2nYMRz0+/a8p0Udh2PkXRIVZV9d4UtKoG4yA/ mHEmKQPaQsgCtYD5ypTKpe1BS6yqAJiwNDXjeEDvV4JKbWPzao1tCo4pqZHwmjweFcBO E54rjXTUsIg0AxYskWddNeZuY6DThqfymeGB02nnKE39LkZ8iWz4zhIIW4cGAZKUcmeK DNPVNRTRGGYxf8/mIQmcaCvcF5fi8jYC1G1gvz2IfXIGTUYg9IMQbwXkADUF+TmNy/ov tJkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bzTluJeC; 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 v67-v6si7505333pfk.264.2018.10.04.21.15.24; Thu, 04 Oct 2018 21:15:39 -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=bzTluJeC; 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 S1727943AbeJELLR (ORCPT + 99 others); Fri, 5 Oct 2018 07:11:17 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:46242 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727802AbeJELLQ (ORCPT ); Fri, 5 Oct 2018 07:11:16 -0400 Received: by mail-pf1-f194.google.com with SMTP id r64-v6so4408157pfb.13; Thu, 04 Oct 2018 21:14:24 -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=CpxCZytTE2DMCbEh/CJMp/oXOlBJtuApwHXbU+m9rIM=; b=bzTluJeC/Tmbyz4ERw1iVHsYT8vdIdsZoU6Lpdmg0uJmxQ+mzOXuMhZj8PKrSpRMuA qGlt7DeoV6k4xW2CfE9DkiMVKseaAx2Oy0lnwLetYxnpxxqjuWazNovCZn3Wrp/3nC64 H4sYwh66s9070KUJMi2Iaun6XsvhtWE1WHXXNWLyu5MgDkmWb4g8sUYr70qZrQEhBGFd yqAS3M7p1fERdirBM4Ct0LIARet26yKDMxhrJjNUXVVSIRofQOffseBiweV3X9JH5jKJ xeUlLMWLzb6h0o1DZb/+mXGwVQDQmb5OY2XJ18H8O+R/N5qQT9sTLl/cmc2MQ5u5eKp3 OY3w== 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=CpxCZytTE2DMCbEh/CJMp/oXOlBJtuApwHXbU+m9rIM=; b=KZCr9eZSckHNe+EcRAE1AQS1dIeTiw5Zx80gOVsfQHmbh8DRG9guMua7omkXB3ZUrI r5HUaM0Cd6G42nn1aTWxNV9UHyw2DJdcB8XmXORRnc7SsTBauM9rNKXP7MhBX6X4kO2y fY/UuLCdjuNNjvBWTV/tThYs2p0GMSnrnryjBDxPD7drIBxHrg0q3EOzIyuK7a8yhoKS YKLO7rkxV7IsVBt2NzGB1+gFSZ64Ac5EPRxxWNvoV4QQ3YyiKHYIS5rHqyoTD3zG/Lbn et3sWq03kT/VQLPHULVx2Z7FoyDO2rCtOKxrwTgEoVGBIyYbKB0eZJgPE8l1OETb8S/g KeDQ== X-Gm-Message-State: ABuFfoi8Yy24xYYnN+rvysIlxNe9PF5MeqxzLsYS+O/h1lNr3bdysgwf mC8fHLVtrFIbCodIqn5/FAY= X-Received: by 2002:a63:2483:: with SMTP id k125-v6mr8451738pgk.287.1538712864682; Thu, 04 Oct 2018 21:14:24 -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 n63-v6sm277975pfn.9.2018.10.04.21.14.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Oct 2018 21:14:24 -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 10/16] of: overlay: make all pr_debug() and pr_err() messages unique Date: Thu, 4 Oct 2018 21:12:41 -0700 Message-Id: <1538712767-30394-11-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1538712767-30394-1-git-send-email-frowand.list@gmail.com> References: <1538712767-30394-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 e6fb3ffe9d93..f89383331b88 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