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

From: Michael Ellerman
Date: Wed Oct 04 2017 - 08:37:56 EST


Rob Herring <robh@xxxxxxxxxx> writes:
> On Tue, Oct 3, 2017 at 4:26 AM, Michael Ellerman <mpe@xxxxxxxxxxxxxx> 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