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

Kamal Dasu kamal.dasu at broadcom.com
Thu Feb 25 12:08:03 PST 2016


> 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.

Thanks for catching and fixing this.

>
> Signed-off-by: Wolfram Sang <wsa at the-dreams.de>

Reviewed-by: Kamal Dasu <kdasu.kdev at gmail.com>

Kamal




More information about the linux-arm-kernel mailing list