Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-11-28 13:13:06
Also in:
linux-devicetree, lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-11-28 13:13:06
Also in:
linux-devicetree, lkml
Hi Rob, On Mon, Aug 21, 2017 at 5:16 PM, Rob Herring [off-list ref] wrote:
With dependencies on a statically allocated full path name converted to use %pOF format specifier, we can store just the basename of node, and the unflattening of the FDT can be simplified. This commit will affect the remaining users of full_name. After analyzing these users, the remaining cases should only change some print messages. The main users of full_name are providing a name for struct resource. The resource names shouldn't be important other than providing /proc/iomem names.
I guess the plan is to get rid in a subsequent step of all calls to kbasename()
on a full name, which is now futile?
Thanks!
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