The patch titled ROUND_UP macro cleanup in drivers/net/ppp_generic.c has been added to the -mm tree. Its filename is round_up-macro-cleanup-in-drivers-net-ppp_genericc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ROUND_UP macro cleanup in drivers/net/ppp_generic.c From: Milind Arun Choudhary <milindchoudhary@xxxxxxxxx> ROUND_UP macro cleanup use DIV_ROUND_UP Signed-off-by: Milind Arun Choudhary <milindchoudhary@xxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/ppp_generic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/net/ppp_generic.c~round_up-macro-cleanup-in-drivers-net-ppp_genericc drivers/net/ppp_generic.c --- a/drivers/net/ppp_generic.c~round_up-macro-cleanup-in-drivers-net-ppp_genericc +++ a/drivers/net/ppp_generic.c @@ -88,8 +88,6 @@ struct ppp_file { #define PF_TO_PPP(pf) PF_TO_X(pf, struct ppp) #define PF_TO_CHANNEL(pf) PF_TO_X(pf, struct channel) -#define ROUNDUP(n, x) (((n) + (x) - 1) / (x)) - /* * Data structure describing one ppp unit. * A ppp unit corresponds to a ppp network interface device @@ -1297,7 +1295,7 @@ static int ppp_mp_explode(struct ppp *pp */ fragsize = len; if (nfree > 1) - fragsize = ROUNDUP(fragsize, nfree); + fragsize = DIV_ROUND_UP(fragsize, nfree); /* nbigger channels get fragsize bytes, the rest get fragsize-1, except if nbigger==0, then they all get fragsize. */ nbigger = len % nfree; _ Patches currently in -mm which might be from milindchoudhary@xxxxxxxxx are unused-round_up-name_offset-macro-in-arch-powerpc.patch round_up-macro-cleanup-in-drivers-net-ppp_genericc.patch round_up-macro-cleanup-in-drivers-parisc.patch round_up-macro-cleanup-in-drivers-pci.patch round_up-macro-cleanup-in-drivers-char-lpc.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