From: Dan Carpenter Date: Wed, 30 Nov 2011 08:43:41 +0000 (+0300) Subject: Staging: line6: NULL dereference in dev_err() X-Git-Tag: v3.3-rc1~152^2~101^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd8b4de6f806f1429d23a2f6e2549ed0e8bc49b;p=pandora-kernel.git Staging: line6: NULL dereference in dev_err() "line6" hasn't been set at this point and we should be using &interface->dev instead. Gcc would have complained about this if it weren't for the fact that we initialized line6 to NULL. I removed the initialization. Signed-off-by: Dan Carpenter Reviewed-by: Stefan Hajnoczi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed