Re: [RFC PATCH] device: Add kernel standard devm_k.alloc functions

From: Kevin Hilman
Date: Fri Oct 18 2013 - 13:04:17 EST


> A handful of boot panics on ARM platforms were bisected to point at
> the version of this commit that's in linux-next (commit
> 64c862a839a8db2c02bbaa88b923d13e1208919d). Reverting this commit
> makes things happy again.
>
> Upon further digging, it seems that users of devres_alloc() are
> relying on the previous behavior of having the memory zero'd which is
> no longer the case after $SUBJECT patch. The change below on top of
> -next makes these ARM boards happy again.

Oops, it should've fixed __devres_alloc() also. Updated patch below.

Kevin