[PATCH v2 5/5] of/fdt: only store the device node basename in full_name

Rob Herring robh at kernel.org
Wed Nov 29 00:26:13 AEDT 2017


On Tue, Nov 28, 2017 at 7:13 AM, Geert Uytterhoeven
<geert at linux-m68k.org> wrote:
> Hi Rob,
>
> On Mon, Aug 21, 2017 at 5:16 PM, Rob Herring <robh at kernel.org> 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?

No. Sparc (PDT) is still the full path and I don't plan to change that.

Rob


More information about the Linuxppc-dev mailing list