[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140123.161201.2239098830159792011.davem@davemloft.net>
Date: Thu, 23 Jan 2014 16:12:01 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: nikolay@...hat.com
Cc: netdev@...r.kernel.org, zoltan.kiss@...rix.com, andy@...yhouse.net,
vfalico@...hat.com, fubar@...ibm.com
Subject: Re: [PATCH net-next] bonding: fix u64 division
From: Nikolay Aleksandrov <nikolay@...hat.com>
Date: Thu, 23 Jan 2014 23:43:43 +0100
> After the option conversion downdelay and updelay divide a u64
> and on a 32 bit this causes the following errors:
> ERROR: "__udivdi3" [drivers/net/bonding/bonding.ko] undefined!
> ERROR: "__umoddi3" [drivers/net/bonding/bonding.ko] undefined!
>
> Fix it by using a normal int instead because newval->value is capped
> at INT_MAX by the way the option is defined.
>
> Signed-off-by: Nikolay Aleksandrov <nikolay@...hat.com>
To fix the build I'm applying this, thanks.
--
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