From: Herbert Xu Date: Fri, 24 Jul 2009 07:26:15 +0000 (+0800) Subject: crypto: api - Fix aligned ctx helper X-Git-Tag: v2.6.32-rc1~731^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab300465676b0c0559af62d57ec9a902f5680b03;p=pandora-kernel.git crypto: api - Fix aligned ctx helper The aligned ctx helper was using a bogus alignment value thas was one off the correct value. Fortunately the current users do not require anything beyond the natural alignment of the platform so this hasn't caused a problem. This patch fixes that and also removes the unnecessary minimum check since if the alignment is less than the natural alignment then the subsequent ALIGN operation should be a noop. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed