diff options
author | Tony Lindgren <tony@atomide.com> | 2008-01-14 23:53:30 +0300 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-14 23:53:30 +0300 |
commit | 3e39752d5367f9087e058abe768708165e1ec373 (patch) | |
tree | bc6d749167fecc4d55bb9bf707fa16b837fa9375 /drivers/i2c/busses/i2c-at91.c | |
parent | 1a1b285c24e1468afe82b09330dde5192a6e0013 (diff) | |
download | linux-3e39752d5367f9087e058abe768708165e1ec373.tar.xz |
i2c-omap: Fix NULL pointer dereferencing
This patch fixes bug #9581 reported by Marcio Buss. If kzalloc fails,
omap_i2c_write_reg() tries to reset an unallocated I2C controller.
Cc: Marcio Buss <marciobuss@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-at91.c')
0 files changed, 0 insertions, 0 deletions