Re: [PATCH 1/8] of: Use vargs in __of_node_alloc

2014-11-24 Thread Grant Likely
On Fri, Nov 21, 2014 at 1:43 AM, Joe Perches wrote: > On Fri, 2014-11-21 at 01:35 +, Grant Likely wrote: >> The overlay code needs to construct a new full_name from the parent name >> and the node name, but the current method has to allocate and then free >> an temporary string which is wastef

Re: [PATCH 1/8] of: Use vargs in __of_node_alloc

2014-11-20 Thread Joe Perches
On Fri, 2014-11-21 at 01:35 +, Grant Likely wrote: > The overlay code needs to construct a new full_name from the parent name > and the node name, but the current method has to allocate and then free > an temporary string which is wasteful. Fix this problem by using vargs > to pass in a format