[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130527.131857.945196320286011406.davem@davemloft.net>
Date: Mon, 27 May 2013 13:18:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: benh@...nel.crashing.org
Cc: sebastian.hesselbarth@...il.com, buytenh@...tstofly.org,
jason@...edaemon.net, andrew@...n.ch, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
grant.likely@...aro.org
Subject: Re: [PATCH 1/2] ARM: kirkwood: proper retain MAC address
workaround on DT ethernet
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Date: Mon, 27 May 2013 21:50:04 +1000
> It would be handy to be able to just do something like
>
> of_set_property(node, name, ptr, len);
>
> However, that wouldn't help much with the allocation/leak problem,
> though at least it would be easier to use. It could also *try* to re-use
> the current allocation if the new content is of smaller or equal size.
And this is so much better of an interface because it allows the
OF implementation to decide how to deal with memory allocation
and freeing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists