From: Jean Delvare Date: Mon, 6 Apr 2009 02:27:10 +0000 (+0000) Subject: ibm_newemac: Fix dangerous struct assumption X-Git-Tag: v2.6.30-rc1~137^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fd9d7ec48194754de6497ded2ef53cbd2c313e;p=pandora-kernel.git ibm_newemac: Fix dangerous struct assumption The ibm_newemac driver includes code which assumes that the work_struct which is included in every delayed_work is the first member of that structure. This is currently the case but might change in the future, so use to_delayed_work() instead, which doesn't make such an assumption. Signed-off-by: Jean Delvare Cc: Josh Boyer Signed-off-by: David S. Miller --- Reading git-diff-tree failed