[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190524213929.GA11780@bogus>
Date: Fri, 24 May 2019 16:39:29 -0500
From: Rob Herring <robh@...nel.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Frank Rowand <frowand.list@...il.com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Hsin-Yi Wang <hsinyi@...omium.org>
Subject: Re: [PATCH v2 3/3] of/fdt: Mark initial_boot_params as
__ro_after_init
On Tue, 14 May 2019 13:40:53 -0700, Stephen Boyd wrote:
> The FDT pointer, i.e. initial_boot_params, shouldn't be changed after
> init. It's only set by boot code and then the only user of the FDT is
> the raw sysfs reading API. Mark this pointer with __ro_after_init so
> that the pointer can't be changed after init.
>
> Cc: Hsin-Yi Wang <hsinyi@...omium.org>
> Signed-off-by: Stephen Boyd <swboyd@...omium.org>
> ---
> drivers/of/fdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks.
Rob
Powered by blists - more mailing lists