Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp33199rdb; Mon, 14 Aug 2023 08:43:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHv6clCT0Od64ElDgCRipyE1fUz52iQUsDev0rDSZ6K+Ergp2YCkHLHpecIje1rL35Vobun X-Received: by 2002:a17:90b:144:b0:267:ffcf:e9e3 with SMTP id em4-20020a17090b014400b00267ffcfe9e3mr8921510pjb.46.1692027823382; Mon, 14 Aug 2023 08:43:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692027823; cv=none; d=google.com; s=arc-20160816; b=HNqe2H+ylcKsx93GIgT8DkGUKiz2VexUDGDaY8jHojDxLz9wFcr3LuuhQtDYOADrbA ENy68fOlF++2JxNzDpz+eoOv4jrlXClne5LF1F5SsIzbH/SUYKwfyJYfNKSjdcowTEjW +hfJfqjj4oWAVAW9itqJkSsU+5ytmHD9oL//XU1mgTZNYrlK6ZoE5YvdDzwfpiYCI2Pm C67VXN121tZNqrQ5zCaeEujqUZPx4UqW3u2poP5gvev2a/pNALugCO3nMpu4UAIIEFr6 +Yr0HiHwdlNHES/mX3QS5XShps1DYnEJ0CAMYb4HOzReZGMpjBe5BdRgfZ+Gxe5o7mK/ L0ZQ== 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=BszbhM9gEWfK7WA5pAq3ZstexnD3attVlcliI5yMyZQ=; fh=OwC+gY//LAN7Ri7O6iZa4KMeljxrw01pBcx2fvYPBA8=; b=eXs4l1d8jxjXg0YFwaD+9Peh5P8dbRLrQu0B3S2GB24WmtuPW6aFcPZWZ4Qb7zHooa 3ujfUqx+snVu4JfHgiY3GR8lq9R6GeWVVFVMSRKlnmx+5QvgZuE9oYIDAfrTXIen7xeM APH39WoVQBjhLypxctwXRr1B5MgJR2m5g4dXr+DDP9ZwHjo7EotefXteaNlzawu49oqw /8yGWZQjiMf9RTGinyjLjw8MsTNbI5UcrXzMxvWGGetwOw8O5m+uJbIH9AjMFajGydIR ICWhK++G9AY2ynKY11IV+xX6OajRj0EEx4XBcCpLCkzs1C6SSVioT1dgwfXU4Vao1Jao UlfA== 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 w7-20020a17090a8a0700b00262f0035181si10258048pjn.26.2023.08.14.08.43.30; Mon, 14 Aug 2023 08:43:43 -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 S230497AbjHNOwR (ORCPT + 99 others); Mon, 14 Aug 2023 10:52:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232538AbjHNOv5 (ORCPT ); Mon, 14 Aug 2023 10:51:57 -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 502821B5 for ; Mon, 14 Aug 2023 07:51:52 -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-265-LSIVBqBIPKKau79zkCsJLw-1; Mon, 14 Aug 2023 15:51:31 +0100 X-MC-Unique: LSIVBqBIPKKau79zkCsJLw-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, 14 Aug 2023 15:51:19 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 14 Aug 2023 15:51:19 +0100 From: David Laight To: 'Linus Torvalds' CC: "linux-kernel@vger.kernel.org" , "Andy Shevchenko" , Andrew Morton , "Matthew Wilcox (Oracle)" , Christoph Hellwig , "Jason A. Donenfeld" Subject: RE: [PATCH v3 5/5] minmax: Relax check to allow comparison between int and small unsigned constants. Thread-Topic: [PATCH v3 5/5] minmax: Relax check to allow comparison between int and small unsigned constants. Thread-Index: AdnGwkt6hGqNS4p3Ts2CQBK2yLMoFAANMf+AAITzIRAADNjaAACIoXRgABaQVAAAwNZ4AA== Date: Mon, 14 Aug 2023 14:51:19 +0000 Message-ID: References: <01e3e09005e9434b8f558a893a47c053@AcuMS.aculab.com> <82fc9f39e3914a74abc7f968b1abba68@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=-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 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGludXMgVG9ydmFsZHMgPHRvcnZhbGRzQGxpbnV4LWZvdW5kYXRpb24ub3JnPg0KPiBT ZW50OiAxMCBBdWd1c3QgMjAyMyAyMDo0Nw0KLi4uDQo+IEJ1dCB1c2luZyBhbiAqdW5zaWduZWQq IGNvbnN0YW50IDIwIHdoZW4gdGhlIG90aGVyIHNpZGUgaXMgc2lnbmVkDQo+IG1lYW5zIHRoYXQg bm93IHNvbWVib2R5IGlzIGNvbmZ1c2VkLiBXZSBzaG91bGQgd2Fybi4NCg0KVGhlbiB5b3UgZ2V0 ICdmaXhlcycgbGlrZToNCg0KaW50IGRvX3RjcF9nZXRzb2Nrb3B0KHN0cnVjdCBzb2NrICpzaywg aW50IGxldmVsLA0KCQkgICAgICBpbnQgb3B0bmFtZSwgc29ja3B0cl90IG9wdHZhbCwgc29ja3B0 cl90IG9wdGxlbikNCnsNCglzdHJ1Y3QgaW5ldF9jb25uZWN0aW9uX3NvY2sgKmljc2sgPSBpbmV0 X2Nzayhzayk7DQoJc3RydWN0IHRjcF9zb2NrICp0cCA9IHRjcF9zayhzayk7DQoJc3RydWN0IG5l dCAqbmV0ID0gc29ja19uZXQoc2spOw0KCWludCB2YWwsIGxlbjsNCg0KCWlmIChjb3B5X2Zyb21f c29ja3B0cigmbGVuLCBvcHRsZW4sIHNpemVvZihpbnQpKSkNCgkJcmV0dXJuIC1FRkFVTFQ7DQoN CglsZW4gPSBtaW5fdCh1bnNpZ25lZCBpbnQsIGxlbiwgc2l6ZW9mKGludCkpOw0KDQoJaWYgKGxl biA8IDApDQoJCXJldHVybiAtRUlOVkFMOw0KDQooU3BvdHRlZCB3aGlsZSBsb29raW5nIHRvIHNl ZSBpZiB0aGUgZ2VuZXJpYyBnZXRzb2Nrb3B0KCkNCmNvZGUgd291bGQgbGV0IG5vdyBteSBkcml2 ZXIgdG8ga2VybmVsX2dldHNvY2tvcHQoKSBvbiBhIFNDVFANCmNvbm5lY3Rpb24gdG8gZmluZCBv dXQgdGhlIG51bWJlciBvZiBzdHJlYW1zLg0KU2VlbXMgdGhlIEJQRiBwZW9wbGUgaGF2ZW4ndCB5 ZXQgcmVxdWlyZWQgdGhlIGZ1bGx5IGdlbmVyaWMgY2hhbmdlLikNCg0KCURhdmlkDQoNCi0NClJl Z2lzdGVyZWQgQWRkcmVzcyBMYWtlc2lkZSwgQnJhbWxleSBSb2FkLCBNb3VudCBGYXJtLCBNaWx0 b24gS2V5bmVzLCBNSzEgMVBULCBVSw0KUmVnaXN0cmF0aW9uIE5vOiAxMzk3Mzg2IChXYWxlcykN Cg==