From: Dan Carpenter Date: Tue, 20 Aug 2013 08:51:41 +0000 (+0300) Subject: crypto: sahara - checking the wrong variable X-Git-Tag: v3.12-rc1~108^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=393e661d6167c1b7444704191ea1d01aa3447894;p=pandora-kernel.git crypto: sahara - checking the wrong variable There is a typo here. "dev->hw_link[]" is an array, not a pointer, so the check is nonsense. We should be checking recently allocated "dev->hw_link[0]" instead. Signed-off-by: Dan Carpenter Signed-off-by: Herbert Xu --- Reading git-diff-tree failed