[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d010fd5.1c69fb81.e7b77.87ae@mx.google.com>
Date: Wed, 12 Jun 2019 07:44:36 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Kefeng Wang <wangkefeng.wang@...wei.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Kefeng Wang <wangkefeng.wang@...wei.com>,
Rob Herring <robh@...nel.org>,
Frank Rowand <frowand.list@...il.com>
Subject: Re: [PATCH next] of/fdt: Fix defined but not used compiler warning
Quoting Kefeng Wang (2019-06-11 18:00:11)
> When CONFIG_OF_EARLY_FLATTREE is disabled, there is a compiler warning,
>
> drivers/of/fdt.c:129:19: warning: ‘of_fdt_match’ defined but not used [-Wunused-function]
> static int __init of_fdt_match(const void *blob, unsigned long node,
>
> Move of_fdt_match() and of_fdt_is_compatible() under CONFIG_OF_EARLY_FLATTREE
> to fix it.
>
> Cc: Stephen Boyd <swboyd@...omium.org>
> Cc: Rob Herring <robh@...nel.org>
> Cc: Frank Rowand <frowand.list@...il.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@...wei.com>
> ---
Reviewed-by: Stephen Boyd <swboyd@...omium.org>
Powered by blists - more mailing lists