Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2411757ybf; Mon, 2 Mar 2020 08:07:11 -0800 (PST) X-Google-Smtp-Source: ADFU+vsusNgbmMl6YPSfqneFr4AfjFS6Ox+Cd7eXoAywt3O8J/iCAEYg+jjtAvwXVHIVms9QbYcw X-Received: by 2002:a54:4403:: with SMTP id k3mr124933oiw.111.1583165231497; Mon, 02 Mar 2020 08:07:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583165231; cv=none; d=google.com; s=arc-20160816; b=uh8TCuXH3HrQ+bvL9COKSF8Fg0als4w1Fpd2Qq5qsSecsq6XaMIOLMf+k7HfTMqUQt XKHEz6JaskC0kCngqx8vMLbqn/GTOKZGd80ps2MaxgcWU+9Snc6vk18H4vOUnSxYkCr6 h2vIsEXpUEc/seQ7+qe5la+IuVYrP2IRzQPmrNVVn77fKsySAyUKsenHOzLNqtVuwLT9 rnoe3R2If6xqb1iE3c0ryqAqlkSuVzyW6SdbIFDlwZOhdx4u2JhBLBwP2K7fYF3E67pZ 8F75DXL7Fyfbc+vOlzkY5JOjkjyN+3IevzPHARn3DtNWa4ok4xFvbcO90uRa6AnIPYLb LQEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=oCQ00dGXGbkpTntEBszN/cZPJvdcqZI+tE1FzP8Z8RQ=; b=zrKad4lsLk8b0eQQte+SRpl4Ej3hKKShSj6TREfts7QxZN8NxAjrK4z7KLQmqI6Op8 aWPcApm0jw8Xa1S92bEVN9SSRPsp0UByMd7JUuJhuzYEmfKq53CGWlrbdE6lVEwai4Ev OTWpE9xtoFe+nyeKucqHwlITTT42jG46LHfGpAqCh9k9atpqiGYsw8XFfTaGnwDQIMoZ C1IIQK+XcMyQpA42AnvTjlxXhUy78beWPv+TTwycgFk/iXt02gftbKh4tgFEjhGNDAcv iTDyM4ZLM7t3NDUQ8vI4RvETEiUjykz83/TShz0r5agSdJc6s1KXaJp61qiPmKdXAF1L dfNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a23si817082otl.228.2020.03.02.08.06.58; Mon, 02 Mar 2020 08:07:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbgCBQGd (ORCPT + 99 others); Mon, 2 Mar 2020 11:06:33 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:35836 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726451AbgCBQGd (ORCPT ); Mon, 2 Mar 2020 11:06:33 -0500 Received: by mail-oi1-f193.google.com with SMTP id b18so10827433oie.2; Mon, 02 Mar 2020 08:06:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oCQ00dGXGbkpTntEBszN/cZPJvdcqZI+tE1FzP8Z8RQ=; b=II7i2Eo7k1U54Nr4oxK8izk9M3W9Km+cyzw0L4UzvyQhC+rvBbqg4SKDStK6kB1DR4 ar14uJJvYwSKmLoQ3C/Esp+F/ARy4CucddMSuHFsbGdnNXgmx+DAYgV0nc9Dl179pbmE brq2gYA+DtAlwQaVPQiJpRK9iEzmgm9iX57IgxYPTcTwGK9gWwYAwlH84U9hFqBFitgu JItiLhAB7FKXLdRapG7Tx3guPoBLXmM9CnV72shNql12GgfFUX86oOppYjqAkhYt7Y+c 692usl7i2phjgmYkdF5bOB922Gu0ugWOqz1/K8pwlR9RIdouTfWlpwx5z/r13HsOmesG aexg== X-Gm-Message-State: ANhLgQ14VV74OmgaSxTcp5V0CnH5GnBDfZ/o2wz5szzuGOlanxji6jVc XudBcNZuTu10p+HUAp9g91i6dNMkyRIVceTXlf4= X-Received: by 2002:aca:b4c3:: with SMTP id d186mr119333oif.131.1583165192444; Mon, 02 Mar 2020 08:06:32 -0800 (PST) MIME-Version: 1.0 References: <20200228084027.10797-1-luca@lucaceresoli.net> In-Reply-To: <20200228084027.10797-1-luca@lucaceresoli.net> From: Geert Uytterhoeven Date: Mon, 2 Mar 2020 17:06:21 +0100 Message-ID: Subject: Re: [PATCH v3] of: overlay: log the error cause on resolver failure To: Luca Ceresoli Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Geert Uytterhoeven , Pantelis Antoniou , Frank Rowand , Rob Herring , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 28, 2020 at 9:40 AM Luca Ceresoli wrote: > When a DT overlay has a node label that is not present in the live > devicetree symbols table, this error is printed: > > OF: resolver: overlay phandle fixup failed: -22 > create_overlay: Failed to create overlay (err=-22) > > which does not help much in finding the node label that caused the problem > and fix the overlay source. > > Add an error message with the name of the node label that caused the > error. The new output is: > > OF: resolver: node label 'gpio9' not found in live devicetree symbols table > OF: resolver: overlay phandle fixup failed: -22 > create_overlay: Failed to create overlay (err=-22) > > Signed-off-by: Luca Ceresoli Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds