From: Jean Delvare Date: Wed, 26 Apr 2006 21:00:16 +0000 (+0200) Subject: [PATCH] scx200_acb: Fix resource name use after free X-Git-Tag: v2.6.17-rc5~164^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b33d0798e6cfae1fcee75afc808fe5690a48a814;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed