From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from osg.samsung.com ([64.30.133.232]:58036 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162207AbeBNStO (ORCPT ); Wed, 14 Feb 2018 13:49:14 -0500 Date: Wed, 14 Feb 2018 16:49:08 -0200 From: Mauro Carvalho Chehab To: Sean Young Cc: linux-media@vger.kernel.org Subject: Re: [GIT PULL FOR v4.17] rc changes Message-ID: <20180214164908.5676fab1@vento.lan> In-Reply-To: <20180212200318.cxnxro2vsqauexqz@gofer.mess.org> References: <20180212200318.cxnxro2vsqauexqz@gofer.mess.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Em Mon, 12 Feb 2018 20:03:18 +0000 Sean Young escreveu: > media: rc: unnecessary use of do_div > > From c52920c524d96db55b9b82440504a7ec40df0b32 Mon Sep 17 00:00:00 2001 > From: Sean Young > Date: Sun, 11 Feb 2018 17:23:14 +0000 > Subject: media: rc: unnecessary use of do_div > Cc: Linux Media Mailing List , > Mauro Carvalho Chehab > > 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