From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758083AbcDAGnA (ORCPT ); Fri, 1 Apr 2016 02:43:00 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:7651 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844AbcDAGm7 (ORCPT ); Fri, 1 Apr 2016 02:42:59 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Thu, 31 Mar 2016 23:41:10 -0700 Message-ID: <56FE15F3.3060805@nvidia.com> Date: Fri, 1 Apr 2016 12:02:19 +0530 From: Laxman Dewangan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: kbuild test robot CC: , , , , Lee Jones Subject: Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation References: <201604011425.40GkbuYp%fengguang.wu@intel.com> In-Reply-To: <201604011425.40GkbuYp%fengguang.wu@intel.com> X-Originating-IP: [10.19.65.30] X-ClientProxiedBy: DRUKMAIL102.nvidia.com (10.25.59.20) To bgmail102.nvidia.com (10.25.59.11) Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 01 April 2016 11:55 AM, kbuild test robot wrote: > Hi Laxman, > > [auto build test ERROR on regulator/for-next] > [also build test ERROR on v4.6-rc1 next-20160401] > [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] > > url: https://github.com/0day-ci/linux/commits/Laxman-Dewangan/regulator-pwm-Try-to-avoid-voltage-error-in-duty-cycle-calculation/20160331-220703 > base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next > config: i386-randconfig-a0-04010940 (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All errors (new ones prefixed by >>): > > drivers/built-in.o: In function `pwm_regulator_set_voltage': >>> pwm-regulator.c:(.text+0x1728d4): undefined reference to `__umoddi3' >>> pwm-regulator.c:(.text+0x1728fd): undefined reference to `__udivdi3' > Seems build error is coming from logic u64 req_period unsigned int diff; unsigned int period unsigned int req_diff req_period = req_diff * period; if (req_period % diff == 0) used u64 to avoid overflow in multiplication.