The patch titled Subject: lib/lcm.c: lcm(n,0)=lcm(0,n) is 0, not n has been removed from the -mm tree. Its filename was lib-lcmc-lcmn0=lcm0n-is-0-not-n.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> Subject: lib/lcm.c: lcm(n,0)=lcm(0,n) is 0, not n Return the mathematically correct answer when an argument is 0. Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> Cc: Martin K. Petersen <martin.petersen@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/lcm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff -puN lib/lcm.c~lib-lcmc-lcmn0=lcm0n-is-0-not-n lib/lcm.c --- a/lib/lcm.c~lib-lcmc-lcmn0=lcm0n-is-0-not-n +++ a/lib/lcm.c @@ -8,9 +8,7 @@ unsigned long lcm(unsigned long a, unsig { if (a && b) return (a / gcd(a, b)) * b; - else if (b) - return b; - - return a; + else + return 0; } EXPORT_SYMBOL_GPL(lcm); _ Patches currently in -mm which might be from linux@xxxxxxxxxxxxxxxxxx are origin.patch linux-next.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