From: Dan Carpenter Date: Thu, 3 Jun 2010 10:19:28 +0000 (+1000) Subject: padata: add parenthesis in MAX_SEQ_NR macro X-Git-Tag: v2.6.36-rc1~568^2~28 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749d811f10a410b64cf4c674c498ec04316ec373;p=pandora-kernel.git 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 Acked-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed