Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3186071rwo; Mon, 24 Jul 2023 07:29:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJOVjREtWckrM68JnmmQHTq5gkXD8EDl4Ur6ABWpv4wZC5p8wQ5fC7dNVRVMKif0bqMuJx X-Received: by 2002:aa7:db87:0:b0:522:3ad4:9c9c with SMTP id u7-20020aa7db87000000b005223ad49c9cmr923978edt.31.1690208986869; Mon, 24 Jul 2023 07:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690208986; cv=none; d=google.com; s=arc-20160816; b=My+bFOIDBSBT2WhanRZzV8MXIN7zAUMRg4gB4skQaKQOiBGPGrnahqwfVqncALhI5m IbyN42wnNIimriTIJtGLi/lXyt+j+X3KjZCrsxHc2iN4PkSYEbgNyw0r+45m7UnbKTMx P6yhmt0Xi9Gnyv4BJmkMMAKTIvGzIjPsHG6Mow6KknyKns6dLCDlIMJ2Iyx8Yw33Rhjr O8SVBZpqkuDrHsS7ZyVJcHGNaPdqKlIBR0bwPo3ZH8HJ6hHxG58RdpuzPNzXGoDhW4GH bExGhXxmbzQmDa+Sz7E+vgz4leJaefH/OA++yR5xXiaR3J0SlyqV1sLxD1DzMj4FPdbD fMag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=nyB6rRLOk3aVDxH/tl2otplEhET+h8q4efRN3G52p1I=; fh=w9NCP3Y5Jz55CUYyS4VW7oaDtAPuKbWHHRiDSip367Y=; b=Wit4mgVW7OBBkYg8WEeiDCvYaozelgGk0HFYnP2uVtpcAI14jZxG+biuq0DtZdbcfs P37j71GCUXiac0pbPKF7A3uoNVtLJlmQRqlK10r+TrYG28cVna/RIJUleB6+DK1YU3j3 E0zBeYUpeEN5c4kME43QM5/9SKCAoFzbjw9Ayv5IM/VYQGsgnH2KblEhOHRE1PS6rGrK 1dnj4sAi7WJYeLBnaOi3Y1CWD7Tl8gK3+G08as1opfScSUPgjcXLIDg//99zqSaR0BEn kU0Eh5K0Uaqe/Z5sjaXODPFtjr5sASx3s3aEZI5UMzB2o0O14BDOnwnIa8WmcHmCEAA8 bk/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020aa7cfc9000000b005221c984c16si3337306edy.574.2023.07.24.07.29.22; Mon, 24 Jul 2023 07:29:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230149AbjGXOBg (ORCPT + 99 others); Mon, 24 Jul 2023 10:01:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbjGXOBe (ORCPT ); Mon, 24 Jul 2023 10:01:34 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D2DAFF for ; Mon, 24 Jul 2023 07:01:31 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-228-RFpHSq0cPeuQ7jM8jWimbA-1; Mon, 24 Jul 2023 15:01:29 +0100 X-MC-Unique: RFpHSq0cPeuQ7jM8jWimbA-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 24 Jul 2023 15:01:27 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 24 Jul 2023 15:01:27 +0100 From: David Laight To: 'Geert Uytterhoeven' , Serge Semin CC: "wuyonggang001@208suo.com" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] clk: baikal-t1: Using div64_ Ul replaces do_ Div() function Thread-Topic: [PATCH] clk: baikal-t1: Using div64_ Ul replaces do_ Div() function Thread-Index: AQHZvjSmxeKvFHAks0K1RCRZ2bTXfq/I8SJw Date: Mon, 24 Jul 2023 14:01:27 +0000 Message-ID: References: <20230612033904.34921-1-zhanglibing@cdjrlc.com> <0dc9409b662180ed29cbc281f0f076b7@208suo.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on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