Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp276970rdh; Thu, 26 Oct 2023 01:42:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyrZC5V5gDBgFZYbg7HA2PnbJ9EDNrTSDX5uUiaGzVaq/XrcPFigDMhxDVZlJFNub8sJpB X-Received: by 2002:a05:620a:2d82:b0:76f:93e:4b30 with SMTP id tr2-20020a05620a2d8200b0076f093e4b30mr15101027qkn.67.1698309734461; Thu, 26 Oct 2023 01:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698309734; cv=none; d=google.com; s=arc-20160816; b=OxVvOzX+mtsX9/nIZthWaTYK+Q1eSWmatRgibJKhAiUNpYCXJ5A4emoA5pTADD+QG2 FQhnnXwfXOTpxU0mXtSLvP5Fb9etjxZ/5KKc/DTVRUgLBgFqLiqe1moY3X0GkhSczpjP 8IvkaENrjqF71FAgyezS7HUFL9WG1ypGE6Ab3qYXeW/g6ixAA3c+PCdKTf7Q/hTxsIEU wtOR5KRjsFw6y11uCVCBU1GG8XgKiTXddfE1VMYRdcUzykmSIToFvzvLxV2AgUZC68B+ b5mNhCj/R4+3tOC9zoZCP5rIkKDpnDzqeLFRr7C2K2mb9ZmZpBwxCQZRknbiIz791HKH taOQ== 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=QWZh2gctBV+iqgpxKHHdGfAnsW8QRDrmBAwFt6jICiI=; fh=VUAjMEup256a4lVlsvvDcy2s0hjsM6Upote5ko6j0gI=; b=CvzqyzeAz4gRUIBOznMXEJR3pFh0Y9c6OoiAEBKuj3jc1yfvGOxHG46qMB82wVJGez 5O3RTZb/v8DLwuTwUdaVCwJsjZyeDgEhYrzVdlANFAb3WDaS/+IUHICQu/g/jKk66PYe F8ZAyF0m05fPdas0UqsrI5ECOcVlWqWUe480vNLkkWhXtrhvOQPek10RyM3KfmDgRelx WLdpr7RSoiBwr0mdoSyjoEPt/vD3hZBbgyN1xDOxBtQIHUQNs/+9axUweYTbrjjLwoX2 reDexGGRKjq1FYooIhOTpByzc0fs4iElHpb4Am7DCfRjh6+x2O/f2cql0SDTigKK4huX rqzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 123-20020a250c81000000b00d9a4f9f7353si3103274ybm.51.2023.10.26.01.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 01:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E5D3D8183ED0; Thu, 26 Oct 2023 01:42:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234787AbjJZImD (ORCPT + 99 others); Thu, 26 Oct 2023 04:42:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231383AbjJZIlz (ORCPT ); Thu, 26 Oct 2023 04:41:55 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF46810E for ; Thu, 26 Oct 2023 01:41:51 -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-405-HugBNGsgMPCUITDyO-WHrA-1; Thu, 26 Oct 2023 09:41:48 +0100 X-MC-Unique: HugBNGsgMPCUITDyO-WHrA-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 26 Oct 2023 09:41:47 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 26 Oct 2023 09:41:47 +0100 From: David Laight To: 'Linus Torvalds' CC: Sebastian Reichel , Andy Shevchenko , Michael Turquette , Stephen Boyd , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Vasily Gorbik , Niklas Schnelle , "kernel@collabora.com" Subject: RE: [PATCH v4 1/3] math.h: add DIV_ROUND_UP_NO_OVERFLOW Thread-Topic: [PATCH v4 1/3] math.h: add DIV_ROUND_UP_NO_OVERFLOW Thread-Index: AQHaBszYM+Cp9N+qfkK9yv140Cm+RbBaJ2TAgACPJoCAAQKN4A== Date: Thu, 26 Oct 2023 08:41:47 +0000 Message-ID: <2873863a22f441c9889ba405d8a71d97@AcuMS.aculab.com> References: <20231024161931.78567-1-sebastian.reichel@collabora.com> <20231024161931.78567-2-sebastian.reichel@collabora.com> <4c2d36375bd74d94a2e6ef5d2fa0df99@AcuMS.aculab.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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 26 Oct 2023 01:42:12 -0700 (PDT) RnJvbTogTGludXMgVG9ydmFsZHMgDQo+IFNlbnQ6IDI1IE9jdG9iZXIgMjAyMyAxODo0MQ0KPiAN Cj4gT24gVHVlLCAyNCBPY3QgMjAyMyBhdCAyMjozOCwgRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWln aHRAYWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBGcm9tOiBMaW51cyBUb3J2YWxkcw0KPiA+ ID4gPiAgLSB3ZSBjYW4ndCBldmVuIHVzZSBhIHN0YXRlbWVudCBleHByZXNzaW9uIGFuZCBfX2F1 dG9fdHlwZSwgYmVjYXVzZQ0KPiA+ID4gPiB0aGVzZSB0aGluZ3MgYXJlIHVzZWQgaW4gdHlwZSBk ZWZpbml0aW9ucyBldGMgYW5kIG5lZWQgdG8gYmUgY29uc3RhbnQNCj4gPiA+ID4gZXhwcmVzc2lv bnMNCj4gPg0KPiA+IERvZXNuJ3QgbWluKCkgZ2V0IGFyb3VuZCB0aGF0IGJ5IHVzaW5nIGlzX2Nv bnN0ZXhwcigpIGFuZA0KPiA+IF9fYnVpbHRpbl9jaG9vc2VfZXhwdHIoKSAtIHRoZSBzYW1lIGNv dWxkIGJlIGRvbmUgaGVyZS4NCj4gDQo+IE5vc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