From: Michael Ellerman Subject: Re: [PATCH v2 4/5] powerpc: pseries: only store the device node basename in full_name Date: Wed, 04 Oct 2017 23:37:49 +1100 Message-ID: <87infvozqa.fsf@concordia.ellerman.id.au> References: <20170821151651.25096-1-robh@kernel.org> <20170821151651.25096-5-robh@kernel.org> <87tvzgd1l3.fsf@concordia.ellerman.id.au> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: "devicetree@vger.kernel.org" , linuxppc-dev , "linux-kernel@vger.kernel.org" , Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras , David Laight , "nfont@linux.vnet.ibm.com" , "tyreld@linux.vnet.ibm.com" List-Id: devicetree@vger.kernel.org Rob Herring writes: > On Tue, Oct 3, 2017 at 4:26 AM, Michael Ellerman 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html