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:
"A bugfix for the I2C core fixing a (rare) race condition"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: core: fix NULL pointer dereference under race condition

+1 -1
+1 -1
drivers/i2c/i2c-core.c
··· 2179 2179 /* add the driver to the list of i2c drivers in the driver core */ 2180 2180 driver->driver.owner = owner; 2181 2181 driver->driver.bus = &i2c_bus_type; 2182 + INIT_LIST_HEAD(&driver->clients); 2182 2183 2183 2184 /* When registration returns, the driver core 2184 2185 * will have called probe() for all matching-but-unbound devices. ··· 2190 2189 2191 2190 pr_debug("driver [%s] registered\n", driver->driver.name); 2192 2191 2193 - INIT_LIST_HEAD(&driver->clients); 2194 2192 /* Walk the adapters that are already present */ 2195 2193 i2c_for_each_dev(driver, __process_new_driver); 2196 2194