Re: [GIT PULL FOR v4.17] rc changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Mon, 12 Feb 2018 20:03:18 +0000
Sean Young <sean@xxxxxxxx> escreveu:

>       media: rc: unnecessary use of do_div
> 
> From c52920c524d96db55b9b82440504a7ec40df0b32 Mon Sep 17 00:00:00 2001
> From: Sean Young <sean@xxxxxxxx>
> Date: Sun, 11 Feb 2018 17:23:14 +0000
> Subject: media: rc: unnecessary use of do_div
> Cc: Linux Media Mailing List <linux-media@xxxxxxxxxxxxxxx>,
>     Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
> 
> 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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux