diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-04-26 23:00:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-05-09 22:04:21 +0200 |
commit | b33d0798e6cfae1fcee75afc808fe5690a48a814 (patch) | |
tree | fee80034c1633f195c1f32493063208abde7d5ca /drivers/i2c/busses/i2c-ixp2000.c | |
parent | [PATCH] scx200_acb: Fix return on init error (diff) | |
download | linux-b33d0798e6cfae1fcee75afc808fe5690a48a814.tar.xz linux-b33d0798e6cfae1fcee75afc808fe5690a48a814.zip |
[PATCH] scx200_acb: Fix resource name use after free
We can't pass a string on the stack to request_region. As soon as we
leave the function that stack is gone and the string is lost. Let's
use the same string we identify the i2c_adapter with instead, it's
more simple, more consistent, and just works.
This is the second half of fix to bug #6445.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-ixp2000.c')
0 files changed, 0 insertions, 0 deletions