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

Florian Fainelli f.fainelli at gmail.com
Mon Feb 22 08:42:50 PST 2016


Le 21/02/2016 06:16, Wolfram Sang a écrit :
> 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>

Fixes: dd1aa2524bc5 ("i2c: brcmstb: Add Broadcom settop SoC i2c
controller driver")

Acked-by: Florian Fainelli <f.fainelli at gmail.com>

Thanks!
-- 
Florian



More information about the linux-arm-kernel mailing list