Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2422462rdg; Mon, 14 Aug 2023 01:49:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0BOaIKzLwId/c0c+B++9l7vy/mhedVL9nTCg3CWeeOgN5e0luwBIvPi1MYqmNw1L+eq1Y X-Received: by 2002:a17:902:e5d1:b0:1bb:c7bc:ceb4 with SMTP id u17-20020a170902e5d100b001bbc7bcceb4mr10007010plf.60.1692002970793; Mon, 14 Aug 2023 01:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692002970; cv=none; d=google.com; s=arc-20160816; b=SXbGKf0XO+pWxvHVS7aAuRUCM8dtgef5XT97fKA8x2MvQHQTTqmCyqU+UqIVHffhfG B519jADcWrXyKVEfDFxnUMFJnFpyHAFTRzOpUW5xdLlozOymN1rwIRPnkNxx0eE3rXVL FIeGI+4Z+9lada5u06hWqr4IY8o48vfXkS11qJBVbnk4H8rB4OYran9t3my7/lDxFA2N dy9d+eMeJI1JbyR05f2q7QmORBA0nwOrkcAxlpm4ch5OZGlY3Y3w5atpEUcUuNBlL+I9 d5FBZ5l3p6NC5o3lbtInvZky0kEUdpbnVz7adP/9UpmxLhhspodiNNLd3GnR9spzDkMU x7Bw== 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=vLpbO9DqGYnAfksQw8Sn3Jyl1Kh54jcuVixlf/iD5IQ=; fh=OwC+gY//LAN7Ri7O6iZa4KMeljxrw01pBcx2fvYPBA8=; b=JAyVauG92A1t/To50xvNe4AALRwjzQOLX/97+cf/TWGQcAqY4PnoYkej5YH7dEsa2v ponoPytqGDPgN14Z4w4zNC4qMraaO2H9S9nzmyr7Nrh345cEnziajkyAJ/OrFTvLo+0/ tkPsyVfj6ODuOhXPfH6SPMJpS1XUVwPEB42GdKVgBH8JlI9z9H/bikbhS7WN6sQOlvli A8IImR6O5ygWLS9kgxQSJDLTyD4poAmNCyfkz1KcW8wmzCQdSMyXNce44oeTEdZG+1UB Fawp8yw6M/23rAskcfcmfHBimxexNHFmQbaXEnAdpBR9psPA3M6Kc2EXX+6Js6wwW2Yp S4kg== 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 z6-20020a170903018600b001b88dbc8b09si7985381plg.454.2023.08.14.01.49.19; Mon, 14 Aug 2023 01:49:30 -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 S234402AbjHNIF1 (ORCPT + 99 others); Mon, 14 Aug 2023 04:05:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234465AbjHNIFK (ORCPT ); Mon, 14 Aug 2023 04:05:10 -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 5BD5CCC for ; Mon, 14 Aug 2023 01:05:06 -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-202-j8XliKWdOjCiUpAptZ0L3A-1; Mon, 14 Aug 2023 09:05:03 +0100 X-MC-Unique: j8XliKWdOjCiUpAptZ0L3A-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; Mon, 14 Aug 2023 09:04:53 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 14 Aug 2023 09:04:53 +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+AAITzIRAADNjaAACIoXRgABaQVAAAsmVSUA== Date: Mon, 14 Aug 2023 08:04:53 +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_BLOCKED,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: SpamAss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