[PATCH] i2c: brcmstb: allocate correct amount of memory for regmap

Wolfram Sang wsa at the-dreams.de
Tue Mar 1 10:19:36 PST 2016


On Sun, Feb 21, 2016 at 03:16:48PM +0100, Wolfram Sang wrote:
> We want the size of the struct, not of a pointer to it. To be future
> proof, just dereference the pointer to get the desired type.
> 
> Signed-off-by: Wolfram Sang <wsa at the-dreams.de>

Applied to for-current with stable tag added, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160301/27b2c0c2/attachment-0001.sig>


More information about the linux-arm-kernel mailing list