Another oops in i2c-core with debug
PATCH 1/1 Another oops in i2c-core with debug
Hi Greg,
Some times ago, you fixed an oops in i2c-core when debugging is enabled:
http://marc.theaimsgroup.com/?l=linux-kernel&m=107585749612115&w=2
Looks like you missed that second one:
drivers/i2c/i2c-core.c +1 -1
@@ -618,7 +618,7 @@int ret =0 ;struct i2c_adapter *adap = client->adapter; -dev_dbg (&client->dev,"i2c ioctl, cmd: 0x%x, arg: %#lx\n" , cmd, arg); +dev_dbg (&client->adapter->dev,"i2c ioctl, cmd: 0x%x, arg: %#lx\n" , cmd, arg);switch (cmd) {case I2C_RETRIES : adap->retries = arg;
Reported by Emil Svensson on IRC. Sensors-detect would trigger the oops (through i2c-dev), I could reproduce it easily. Works OK after applying the patch above.
Please apply,
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Greg KH
AppliedQuoted 6 lines · Jean Delvare
Hi Greg,
Some times ago, you fixed an oops in i2c-core when debugging is enabled:
http://marc.theaimsgroup.com/?l=linux-kernel&m=107585749612115&w=2Looks like you missed that second one:
Applied, thanks.
greg k-h