Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c fix from Wolfram Sang:
"One I2C bugfix ensuring correct memory allocation in a driver"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: brcmstb: allocate correct amount of memory for regmap

+1 -2
+1 -2
drivers/i2c/busses/i2c-brcmstb.c
··· 586 586 if (!dev) 587 587 return -ENOMEM; 588 588 589 - dev->bsc_regmap = devm_kzalloc(&pdev->dev, sizeof(struct bsc_regs *), 590 - GFP_KERNEL); 589 + dev->bsc_regmap = devm_kzalloc(&pdev->dev, sizeof(*dev->bsc_regmap), GFP_KERNEL); 591 590 if (!dev->bsc_regmap) 592 591 return -ENOMEM; 593 592