[PATCH v2 4/5] powerpc: pseries: only store the device node basename in full_name

Michael Ellerman mpe at ellerman.id.au
Wed Oct 4 23:37:49 AEDT 2017


Rob Herring <robh at kernel.org> writes:
> On Tue, Oct 3, 2017 at 4:26 AM, Michael Ellerman <mpe at ellerman.id.au> wrote:
...
>>
>> The obvious fix is just to allocate it separately as before, eg ~=:
>
> Yes, I'll go back to doing 2 allocs like v1, but using kstrdup as was
> also pointed out.

Yeah that would be better still I guess.

cheers


More information about the Linuxppc-dev mailing list