The patch titled Add parentheses around arguments in the SH_DIV macro. has been added to the -mm tree. Its filename is add-parenthesis-around-arguments-in-the-sh_div-macro.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Add parentheses around arguments in the SH_DIV macro. From: Uwe Zeisberger <Uwe_Zeisberger@xxxxxxxx> There is currently no affected user in the tree, but usage is less surprising that way. Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/jiffies.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/jiffies.h~add-parenthesis-around-arguments-in-the-sh_div-macro include/linux/jiffies.h --- a/include/linux/jiffies.h~add-parenthesis-around-arguments-in-the-sh_div-macro +++ a/include/linux/jiffies.h @@ -47,8 +47,8 @@ * - (NOM / DEN) fits in (32 - LSH) bits. * - (NOM % DEN) fits in (32 - LSH) bits. */ -#define SH_DIV(NOM,DEN,LSH) ( ((NOM / DEN) << LSH) \ - + (((NOM % DEN) << LSH) + DEN / 2) / DEN) +#define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) \ + + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN)) /* HZ is the requested value. ACTHZ is actual HZ ("<< 8" is for accuracy) */ #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8)) _ Patches currently in -mm which might be from Uwe_Zeisberger@xxxxxxxx are add-parenthesis-around-arguments-in-the-sh_div-macro.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html