[PATCH] i2c: brcmstb: allocate correct amount of memory for regmap
From: Wolfram Sang <hidden>
Date: 2016-03-01 18:19:36
Also in:
linux-i2c
From: Wolfram Sang <hidden>
Date: 2016-03-01 18:19:36
Also in:
linux-i2c
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 <redacted>
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>