Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5093941imm; Tue, 18 Sep 2018 04:20:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaE2CJnHWA3ngakgthzPwFvCNcaTVKqyixjo/o6pzNtIgKWKKK5OFO5C6wHJPYmv7b6NDlR X-Received: by 2002:a62:5290:: with SMTP id g138-v6mr30001203pfb.46.1537269639377; Tue, 18 Sep 2018 04:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537269639; cv=none; d=google.com; s=arc-20160816; b=dYH8zhNVW8srZM7z/g60ky6nI5+/2FkEjlT7sWW7r5if5WLHjQzETanP1eOWPmP+Xq 0/Frkpey2IgKgmQymtKhpIxExA6NsNY5JBLH7TeCeDRo0FL5aB8pqaKSOs78QURPAEOo kT+YDA6vOnF1ZkbjLsOIyLoFoF0YwatP8KusOuHMU8u0WbrbPBTTNpZily+P7m31P0o8 97JNHnd+jl0poDWTiLYaxarTE3asjaMPHasS76Yvbv+v3/lLy/mqKJWO76SbsPJD7iCT DO6euSvBC2fAcMxT5bEW/nrpFcRhOYd1a9o5bXdHThOShcwVhfRrbF91dNKzPWz7DWtx nZlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to:user-agent:date :message-id:from:references:cc:to:subject; bh=Xb5iytRghTmzNEcRWCXBePEiDJw6CVRzgURuEvHULi4=; b=RHuzyVoP/z2RRzY6yJfjX+IemHo0KnYupsWhRuyia9v9/83gbKPu2Q4NhbhAt4xWXN f9OpnfFePyIA3iNFmZSFA8WDhev/B0naLlHTzM/3ZOsybybvs3rXX9F3pxm4bhg18X5e WG26Lx6FWzF6nyMkI7dqsU6PGRC20aaAEkxNyHThFGJC7gVZiJlWz7nkP3cngTo2+utV qFUy7iTIpze4cohZ49BhlewVYZpyRkps4kuduX17J7EfQsFi8kmP3KNPLC/U8jbxwwla jxx61h2PTDPxHbgBxgkHNVTdwz9rQAS934tbjzszxRKkPfuWobH2cvwfVIyM1dxcwpMw c5ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88-v6si20043728plc.515.2018.09.18.04.20.23; Tue, 18 Sep 2018 04:20:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729508AbeIRQwK (ORCPT + 99 others); Tue, 18 Sep 2018 12:52:10 -0400 Received: from mx-ginzinger.sigmacloud.services ([185.154.235.147]:34690 "EHLO mx-ginzinger.sigmacloud.services" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727207AbeIRQwK (ORCPT ); Tue, 18 Sep 2018 12:52:10 -0400 X-Greylist: delayed 349 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Sep 2018 12:52:08 EDT Received: from [31.193.165.228] (port=50332 helo=mx-ginzinger.sigmacloud.services) by mx-ginzinger.sigmacloud.services with esmtps (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1g2DxD-0007Vu-1e; Tue, 18 Sep 2018 13:14:03 +0200 Received: from [10.10.1.120] (10.10.1.120) by exc1.buero.ginzinger.com (10.1.1.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Tue, 18 Sep 2018 13:14:02 +0200 X-CTCH-RefID: str=0001.0A0B020D.5BA0DDFB.0054:SCFSTAT16437741,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Subject: Re: [PATCH] Input: uinput - allow for max == min during input_absinfo validation To: Peter Hutterer , , , CC: Benjamin Tissoires References: <20180918052256.GA23446@jelly> From: Martin Kepplinger Message-ID: <19cbcf47-4ab4-7dd0-392a-9a47b7264999@ginzinger.com> Date: Tue, 18 Sep 2018 13:13:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 In-Reply-To: <20180918052256.GA23446@jelly> X-Originating-IP: [10.10.1.120] X-ClientProxiedBy: exc1.buero.ginzinger.com (10.1.1.204) To exc1.buero.ginzinger.com (10.1.1.204) X-EXCLAIMER-MD-ORIGINAL-SUBJECT: [NOSIG][NODISC]Re: [PATCH] Input: uinput - allow for max == min during input_absinfo validation X-EXCLAIMER-MD-CONFIG: 9dd172f7-de2e-4231-b886-ec11f46e03b3 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----EEABC6BDE35FEDA71583357147A2BDDA" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an S/MIME signed message ------EEABC6BDE35FEDA71583357147A2BDDA MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 9/18/18 7:22 AM, Peter Hutterer wrote: > These values are inclusive, so a range of 1 requires min == max. > > Signed-off-by: Peter Hutterer true, nice catch. Reviewed-by: Martin Kepplinger ------EEABC6BDE35FEDA71583357147A2BDDA Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIOHAYJKoZIhvcNAQcCoIIODTCCDgkCAQExDzANBglghkgBZQMEAgEFADALBgkq hkiG9w0BBwGgggshMIIF5jCCA86gAwIBAgIQapvhODv/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