Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp556850ybk; Wed, 20 May 2020 06:31:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMiFlyN05LXq0BSLZp0HIPb7oDDMDc9QZxXwbEUh7BvPQsUFZ627kKkrZ8aE3tbBkRCGP7 X-Received: by 2002:a17:906:1f09:: with SMTP id w9mr3630392ejj.486.1589981505780; Wed, 20 May 2020 06:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589981505; cv=none; d=google.com; s=arc-20160816; b=rGQ4m+Ya9EK1zqD9ngJiZVyKQwxhxn+MsV206zdgWJGrncZpJE/8d/cXP34dxOsr37 nwQsPCEDAW9of/hqburbf7HH793n4H6V61aGi29vcupNh8kSXCXI05uQVPGZvWQ7BsQC Wyp35BY/jU9K24dL6AgKQELou4AtfKMO0Uslf+5IPBI3LB4wyhUejMQ8QqB/oxv4O0Uw u4hNGimAZd7AFfsCMd8epS7rmMYdZK5QSMOBpZNXzmJzdz6aPvCTK+3/52Q9lP4+G4Bh 2I8sAB15sJ3zAih+uAzVlP3QvQGQGPw01fSaPuX8GoI2GZLSKVypit4Rnmz1WETSTX8H 9esA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=e8bkPbn5g6USkMwAOtytr31x954KhDsiwiTeeNAAHiY=; b=I7e9j7n2nENBLCwTjXnrFW/A1z2ehPJ/u64FR7yO8DEHKD3s0E9S8WHsxvLx0JtBF7 pe2R8WynPKcoon2E6FOz5Bcu0BHddCxeWmVpVzlNrVR7cPE8cPEILiWayHzHG+sCOyds Gd4pcMLwfN+ebtyFquVQmp4iGbDp0TXPT0GfrtaUnA2Wt5BYdzv1+rY9Jin5iUlUjch1 ctyuqrYIqKHp+dFZ8W5Pj5qqX/GNMPA1QsjSN9qtjFDBuOW6S4UR+Yb7lFjomRkNWl2T hdzqH6O6+zQvSuP2B16REN0ybEKaWbIgyg7L68xnCxmNYdUwWze6m/LFAyTsXR+H5gMW qVzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si1440292edl.566.2020.05.20.06.31.23; Wed, 20 May 2020 06:31:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726785AbgETN3Q (ORCPT + 99 others); Wed, 20 May 2020 09:29:16 -0400 Received: from sauhun.de ([88.99.104.3]:37730 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbgETN3P (ORCPT ); Wed, 20 May 2020 09:29:15 -0400 Received: from localhost (p5486cd24.dip0.t-ipconnect.de [84.134.205.36]) by pokefinder.org (Postfix) with ESMTPSA id 98CC72C1FD1; Wed, 20 May 2020 15:29:13 +0200 (CEST) Date: Wed, 20 May 2020 15:29:13 +0200 From: Wolfram Sang To: qii.wang@mediatek.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, leilk.liu@mediatek.com Subject: Re: [next] i2c: mediatek: Use div_u64 for 64-bit division to fix 32-bit kernels Message-ID: <20200520132913.GB5759@ninjato> References: <1589970713-19944-1-git-send-email-qii.wang@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: <1589970713-19944-1-git-send-email-qii.wang@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 20, 2020 at 06:31:53PM +0800, qii.wang@mediatek.com wrote: > From: Qii Wang >=20 > Use div_u64 for 64-bit division, and change sample_ns type to > unsigned int. Otherwise, the module will reference __udivdi3 > under 32-bit kernels, which is not allowed in kernel space. >=20 > Signed-off-by: Qii Wang Applied to for-next by squashing it into the relevant commit, thanks! --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl7FMKkACgkQFA3kzBSg KbbynRAAmwCukXP9v4Fs9sjBIrxVil2vgnjXCEmpHgr7IZ37e9uoqxlUndj/oHhs YuDiSBGBVXU/ZYFP2VDsUdMRBa11pyoNALMiO0uIThiQ4gkn132Ej4DJ+s9o54cz nh74h8be69a0EmvvYY99oBfIFZ7ORRtvL5lIktHUaP9h4YvU1CC/neJ5o97q4bVU GBugpXgWfXEBApFPyXr3ShOaUyxnCJKYHAFyHShqoEtgIwXlyurDYG9yzkeI3d6w U5jKdhAp97EwNf+b1iLj/2EEOpE0G1wEWke8rTL1mjJMJRVCwUQqzeFzPORfGMK+ YpphdJtvU6mvl2wjnybBcc4gb9WoQP7wRkb7lEdgW9kmlNIqPgzuds7F6ePHMNRD GxdMBnOiLFC6UnTih18N4gMnH9AwjX/1Hz4k8g9riHdF1+BGpcytZsosCXXE7n7C 9rVPE/9HE9juuEWLBTqdonrOje8DOtOtOqX1b7DwEbHotanakMQY1C5xPbX6Wzr3 QnKeVyuTbd0nUVkLgMCOJP/d9/1mJWWNvJSKdG/7zRyyz2nhOr4C8lJhLLH14Hub XKK5/K8qiufXzdhryt/EmiThF5WbhcRHQ4HH+irt9droO08MkBlZfnuW7NT0NPuY uk3OkrWasxCtb9udRSUrM6rGmfcueB//OzLR3xiq8GH/AykuwaM= =gKRd -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--