]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: memneq - fix for archs without efficient unaligned access
authorDaniel Borkmann <dborkman@redhat.com>
Thu, 5 Dec 2013 23:33:33 +0000 (00:33 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Dec 2013 12:09:12 +0000 (20:09 +0800)
commit671ca224080f966e8efd25856532ed508f50b691
treeb4766180285e47231c602c403c5002d19e2adda6
parentee4979721225afadd8fd4afeb726ae9fe4266906
crypto: memneq - fix for archs without efficient unaligned access

Commit 20fc237fc10d introduced a possible build error for archs
that do not have CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS set. :/
Fix this up by bringing else braces outside of the ifdef.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Fixes: 20fc237fc10d ("crypto: more robust crypto_memneq")
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-By: Cesar Eduardo Barros <cesarb@cesarb.eti.br>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/memneq.c