Skip to contentSkip to conversation

Linux 2.6.2 i2c debug bug

DISCUSSION Jean Delvare 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

Apparently one of the dev_dbg in i2c_master_recv in i2c_core.c in 2.6.2 has a little issue in that it's dereferencing the wrong element (client->dev instead of client->adapter->dev)

Fix is below

Thanks for reporting the problem and providing a fix. However, the problem was already reported on the LKML [1] and a similar fix is already in Greg's bk tree [2].

[1] http://marc.theaimsgroup.com/?l=linux-kernel&m7573527929342&w=2
[2] http://marc.theaimsgroup.com/?l=linux-kernel&m7585749612115&w=2

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/