Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799AbcDMTzu (ORCPT ); Wed, 13 Apr 2016 15:55:50 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54345 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751248AbcDMTzq (ORCPT ); Wed, 13 Apr 2016 15:55:46 -0400 Subject: Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver To: Shanker Donthineni , kbuild test robot Cc: kbuild-all@01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, sdharia@codeaurora.org, Greg Kroah-Hartman , vikrams@codeaurora.org, cov@codeaurora.org, gavidov@codeaurora.org, Rob Herring , andrew@lunn.ch, bjorn.andersson@linaro.org, Mark Langsdorf , Jon Masters , Andy Gross , "David S. Miller" References: <201604140340.wQZLwsUk%fengguang.wu@intel.com> <570E9E8D.50007@codeaurora.org> <570EA09F.1070000@codeaurora.org> From: Timur Tabi Message-ID: <570EA434.30007@codeaurora.org> Date: Wed, 13 Apr 2016 14:55:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <570EA09F.1070000@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 744 Lines: 20 Shanker Donthineni wrote: >>> >> drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up': >>>>>>> >>>> >>drivers/net/ethernet/qualcomm/emac/emac-mac.c:1076:9: warning: large integer implicitly truncated to unsigned type [-Woverflow] >>> >> writel(~DIS_INT, adpt->base + EMAC_INT_STATUS); >> > >> >This doesn't happen on arm64, and I don't know how to fix it. DIS_INT is defined as: >> > >> > #define DIS_INT BIT(31) >> > > Try with (1U<<31). > Except that Gilad was previously asked to use the BIT() macros: https://lkml.org/lkml/2015/12/15/797 -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation collaborative project.