diff options
author | Dan Carpenter <error27@gmail.com> | 2010-06-03 12:19:28 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-06-03 12:19:28 +0200 |
commit | 749d811f10a410b64cf4c674c498ec04316ec373 (patch) | |
tree | c2367d21524c3e581a2cc9f75296a927862688ce /crypto/Makefile | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/crypto-2.6 (diff) | |
download | linux-749d811f10a410b64cf4c674c498ec04316ec373.tar.xz linux-749d811f10a410b64cf4c674c498ec04316ec373.zip |
padata: add parenthesis in MAX_SEQ_NR macro
MAX_SEQ_NR is used in padata_alloc_pd() like this:
pd->max_seq_nr = (MAX_SEQ_NR / num_cpus) * num_cpus - 1;
It needs parenthesis or the divide by num_cpus takes precedence over the
subtraction.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions