Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp282968rdh; Thu, 26 Oct 2023 01:57:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYiQ86PgPF46lGzg6rY+DwhxtmguRkQFIP+JX0T+P9Ui05D6hgSaRGIpOKntehfF8Q1c20 X-Received: by 2002:a25:73ce:0:b0:da0:7fe0:dc6 with SMTP id o197-20020a2573ce000000b00da07fe00dc6mr3577637ybc.14.1698310648081; Thu, 26 Oct 2023 01:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698310648; cv=none; d=google.com; s=arc-20160816; b=EX2WuLJ8o7a047gU0plW8/0Am7jTXSWQHmQ1iskPgYI472Y5OuG9JpQsn/GRJAnl30 TClKq32NM87u5yUMYFzEzUKV4joUUpvRRgXUeUo2sR2roopqL20ivARHLBbRg20HBEJx 42xpi0Y91oe5NjvznsmAndKGQpNpgCKr3yKTjypqUBzX6IkgNDydCRcvSCFVrobn0Q1j bpEUdRspFUd23thFTWgn/jjtDg2n2Xn00VD88xb62Ca/TIbYnSaLNooxYJHo86MUdBZn X182F7PuVCBIBK0dpBNUOxPxmEogaIg5SqJGQeP/zREU2qsDx1Q9sTbNgH7UcTs9TaAw u1AA== 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=AS+sxag91d05Quvq6N+Uja3tQj9jfOfT6TpnsD33hGM=; fh=AE6ZWiwUWrlTH05utRocD27r2PXRwW1EDzrXYFE9pcg=; b=CIIOWdvQGFkJEofATXOMPtxNg+xTPxSvh0w+BCzkMYDXZVgQQxl74MbvXc4vOjyU6T VJBsKukPp5lmAKj7WTvAB5Lqtvb6pDiYWQl524GL/yHVixhJwdDQO2hOnmePpHaRP/2e YKhiH0rARiZZr+7ft3fY0xFhMV397AIcrLlhOVa6JPrDZl7sSpRyiWcIaZCEoA+vOFwv 81pXLeImEJnfm77zRaNeK9aYPmOejLLzSVmq7SCA5wBWdF/WrRvz1Keql3LF+05dHXrD xq+1GcyPORnn5pB/ebkGOsi/SP6yqcV+AsF4qMCpiEH5F33JXKpgEGA+TmzTFejFt5FB Shdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id f5-20020a25b085000000b00d8942d8d1a5si13860914ybj.247.2023.10.26.01.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 01:57:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 0E0E0813561E; Thu, 26 Oct 2023 01:57:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344406AbjJZI5U (ORCPT + 99 others); Thu, 26 Oct 2023 04:57:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjJZI5S (ORCPT ); Thu, 26 Oct 2023 04:57:18 -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 DE386129 for ; Thu, 26 Oct 2023 01:57:15 -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-189-oDjpJJgrPuajMzD05ByH3Q-1; Thu, 26 Oct 2023 09:57:12 +0100 X-MC-Unique: oDjpJJgrPuajMzD05ByH3Q-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:57:11 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 26 Oct 2023 09:57:11 +0100 From: David Laight To: 'Linus Torvalds' , Vasily Gorbik CC: Sebastian Reichel , Andy Shevchenko , Michael Turquette , Stephen Boyd , "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "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: AQHaB2rGM+Cp9N+qfkK9yv140Cm+RbBbwb/A Date: Thu, 26 Oct 2023 08:57:11 +0000 Message-ID: <055dd714f98f4e45b2add561b7663378@AcuMS.aculab.com> References: <20231024161931.78567-1-sebastian.reichel@collabora.com> <20231024161931.78567-2-sebastian.reichel@collabora.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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 26 Oct 2023 01:57:25 -0700 (PDT) RnJvbTogTGludXMgVG9ydmFsZHMNCj4gU2VudDogMjUgT2N0b2JlciAyMDIzIDE4OjQ0DQo+IA0K PiBPbiBXZWQsIDI1IE9jdCAyMDIzIGF0IDA1OjA1LCBWYXNpbHkgR29yYmlrIDxnb3JAbGludXgu aWJtLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBZb3UgcHJvYmFibHkgd2FudA0KPiA+DQo+ID4gICNk ZWZpbmUgX19kaXZfcm91bmRfdXAobixkKSBfR2VuZXJpYygobikrKGQpLCAgICAgICAgICBcDQo+ ID4gICAgICAgICB1bnNpZ25lZCBsb25nIGxvbmc6IF9fZGl2X3JvdW5kX3VwX3VsbCwgICAgICAg ICBcDQo+ID4gICAgICAgICBsb25nIGxvbmc6IF9fZGl2X3JvdW5kX3VwX2xsLCAgICAgICAgICAg ICAgICAgICBcDQo+ID4gICAgICAgICB1bnNpZ25lZCBsb25nOiBfX2Rpdl9yb3VuZF91cF91bCwg ICAgICAgICAgICAgICBcDQo+ID4gICAgICAgICBsb25nOiBfX2Rpdl9yb3VuZF91cF9sLCAgICAg ICAgICAgICAgICAgICAgICAgICBcDQo+ID4gICAgICAgICB1bnNpZ25lZCBpbnQ6IF9fZGl2X3Jv dW5kX3VwX3UsICAgICAgICAgICAgICAgICBcDQo+ID4gICAgICAgICBpbnQ6IF9fZGl2X3JvdW5k X3VwX2kpKG4sZCkNCj4gPg0KPiA+IHRvIGF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