[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140530.155507.1498570358622128968.davem@davemloft.net>
Date: Fri, 30 May 2014 15:55:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: _govind@....com
Cc: netdev@...r.kernel.org, arnd@...db.de, David.Laight@...lab.com,
gvaradar@...co.com, benve@...co.com, ssujith@...co.com,
neepatel@...co.com
Subject: Re: [PATCH net-next] enic: Fix 64 bit divide on 32bit system
From: Govindarajulu Varadarajan <_govind@....com>
Date: Mon, 26 May 2014 15:52:43 +0530
> Division of a 32 bit number by a 64 bit number causes the following link
> error introduced by
> 7c2ce6e60f703 "enic: Add support for adaptive interrupt coalescing"
>
> drivers/built-in.o: In function `enic_poll_msix':
> enic_main.c:(.text+0x48710a): undefined reference to `__udivdi3'
> make: *** [vmlinux] Error 1
>
> Since numerator is 32 bit, convert denominator to 32 bit accordingly.
>
> Fixes: 7c2ce6e60f703 ("enic: Add support for adaptive interrupt coalescing")
> Reported-by: Jim Davis <jim.epost@...il.com>
> Cc: Christian Benvenuti <benve@...co.com>
> Cc: Sujith Sankar <ssujith@...co.com>
> Cc: Neel Patel <neepatel@...co.com>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists