Em Mon, 12 Feb 2018 20:03:18 +0000 Sean Young <s...@mess.org> escreveu:
> media: rc: unnecessary use of do_div > > From c52920c524d96db55b9b82440504a7ec40df0b32 Mon Sep 17 00:00:00 2001 > From: Sean Young <s...@mess.org> > Date: Sun, 11 Feb 2018 17:23:14 +0000 > Subject: media: rc: unnecessary use of do_div > Cc: Linux Media Mailing List <linux-media@vger.kernel.org>, > Mauro Carvalho Chehab <mche...@infradead.org> > > No need to use do_div() when the remainder is thrown away. That's not true at all! We need do_div() every time we're dividing an u64 number, as otherwise, it will cause link errors when built with 32 bits. Thanks, Mauro