Skip to content

cleanup /chosen/linux,stdout-path warning

Andrew Jones kexec 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4uImage: cleanup some warningskexec/arch/arm/kexec-uImage-arm.c kexec/arch/ppc/kexec-uImage-ppc.c kexec/arch/sh/kexec-uImage-sh.c+7 -42 replies
2/4kexec/fs2dt: s/diabled/disabled/kexec/fs2dt.c+5 -51 reply
3/4kexec/fs2dt: cleanup pathnamekexec/fs2dt.c+2 -41 reply
4/4kexec/fs2dt: check for /chosen/stdout-path firstkexec/fs2dt.c+8 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] [RFT] cleanup /chosen/linux,stdout-path warning

On arm we get

"Unable to find /proc/device-tree//chosen/linux,stdout-path, printing from purgatory is diabled"

when loading a kexec kernel. There are three problems with this warning.

1) two slashes after device-tree
2) we should be also checking (and firstly) for /chosen/stdout-path, as linux,stdout-path is the deprecated node name. We may actually have the former on arm, allowing us to avoid this warning all together.
3) "disabled" has a typo in it

This series addresses these three problems with the last three patches, and the first patch removes a compiler warning.

I've added the RFT as these patches touch code shared with other architectures, namely powerpc, but I only tested on arm.

Please keep me on CC, as I'm not subscribed to the kexec mailing list.

Thanks,
drew

Andrew Jones (4):
uImage: cleanup some warnings kexec/fs2dt: s/diabled/disabled/ kexec/fs2dt: cleanup pathname kexec/fs2dt: check for /chosen/stdout-path first

 kexec/arch/arm/kexec-uImage-arm.c |  3 ++-
 kexec/arch/ppc/kexec-uImage-ppc.c |  5 +++--
 kexec/arch/sh/kexec-uImage-sh.c   |  3 ++-
 kexec/fs2dt.c                     | 26 ++++++++++++++------------
 4 files changed, 21 insertions(+), 16 deletions(-)
Signature · 7 lines
2.4.3


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec