Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5478116imm; Tue, 18 Sep 2018 10:07:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdajPljcQxwdCbvt+FaHTNzk2QJ/yaUoEmepaxiAhz526vKbN94/xryWzLPEP1Asz+Uei1WN X-Received: by 2002:a63:f966:: with SMTP id q38-v6mr27920775pgk.213.1537290456747; Tue, 18 Sep 2018 10:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537290456; cv=none; d=google.com; s=arc-20160816; b=gydOs1tt/4jR8lhM4TO1U/yMQke2SEEBTNHBbKIfi2gx8MLhJrs6y452++gYjjGu+d ntyZBBFpkJffkgWcrM7GYsoAsM/JlbAd432kBteeJNmcmviuKaqkW4BRNuFePoqET8o6 Fmd0f6ZbdPOZ42hnmj7S4Chm1OI9EKBDsthiIxiVrmpuEYUN9ZYqFgM5pld9h4Tuv6A0 xKVmy/P0dxne9dqlNyctNk/UMAntNrU0kOt3vMzOl+DgGHrPOB90SH3mvNfzIXYQw65i fYDXaSr18XxlE+hnw0p//oDcLvrYYL0GsFk8/HDhAIvtMHvOCOXQBYz3GZS/hrp9mOFY 94Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Rpj7C/DP+RR+9zS8m+GJFa5Je3ygCxDJXdm5C3MKGso=; b=gLYLBb1rW0fLkyMiqKNrZtyNxHnxszL+u6WuCcDpVbKmS5zl5zHoq5dlp/h4xLbPAY tR7WKSJ1vk5vDwXZOqI46kvB5OWqmEG9f6FFxiP3xIRox9GR6h7jc8LkDOY0INAkzoFA kudvBgPmHkvRo8/cL1tSRvFqAJ8vpDjhRdjX+WZ2NxjAixh3ImUQ92709pl9PAANQ+z9 mQcq8VzzZ9eAK734bRlRHKCQzeGBmP7QJhWzfFFlMhKN89T9pzME+YRzZ1K5MCHJrEHY eYactQfEJuHQT9P5sSTPCMwJ3DjuWcU/Iz9EmYKbh9hIi+HJc0dHC1oZUCEFHMp+R2ZL CNTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h9oFj6Eg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6-v6si15786097pls.426.2018.09.18.10.07.19; Tue, 18 Sep 2018 10:07:36 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h9oFj6Eg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730333AbeIRWik (ORCPT + 99 others); Tue, 18 Sep 2018 18:38:40 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41548 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729156AbeIRWik (ORCPT ); Tue, 18 Sep 2018 18:38:40 -0400 Received: by mail-pg1-f195.google.com with SMTP id s15-v6so1335732pgv.8; Tue, 18 Sep 2018 10:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Rpj7C/DP+RR+9zS8m+GJFa5Je3ygCxDJXdm5C3MKGso=; b=h9oFj6EgGGq0xzXjNRu4CMfR7k3oHqkulYrBp/LAnWmjQG0MLuu18L8x/oIEJA/pgd Uz7mNoJAYO+hL+GixSlYNhGs/KhQERLzYbQ8CKY6Y2/iC3hTIUQsYSIgyYULnu54mABr MgnFXG9rlGW13OwOk/xBntHPbigJxD2/y81MEOtg97rZnZX/5RlhhroPTW1Evrt/mSFB yiX0l/G+569B6aCDsSx4zUvulXcL5VzUEMyaGcl/tDFZwFa9ZgzQFkWmhw0q597H6oMa CmsUl+E01tZhn5Pbia9+dEQR6ULLamoLghdq46t94Xnc1I8LvxwQZoDF5jn8EmVImfRh zQDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Rpj7C/DP+RR+9zS8m+GJFa5Je3ygCxDJXdm5C3MKGso=; b=H1EBEL53mFxkzAZzeQmBvp6gJQbYwQhYvyDyCn+TDmhDjAQac67Aus9SNEHEtI83td sLtWL7cjbz7akSKZ8Iy2/8r8dmlfuCDL3rv3qOlluuOCXqorFIJOthumVc+pbdQw/PVM grbURdInbtWAuCszj8qhuhUYSLVxYYPyVPL5Q+Il88+0OXJekAHazztNqP137SqsRqFA iJaftrmpOW5xZunobFpmJc3pjrx3NVjGJNqApXG24HzaUwhgNrmpJShaRGaWUKzxhNqv CB1SmX38IdpY3x7Ksh8+ra4x8QF6XQMcUKShLUuo+ypllfTq5ZP4NIrlz6LSfTzL5fpN ZGRg== X-Gm-Message-State: APzg51Cs+eoG5yIq0rTnCtdWs6BtdVZAR+CJVBZFs7aMBC+Fkqlsge8V xEPlDlj1sMdK0rsxnwhgkeNR2hdo X-Received: by 2002:a62:9683:: with SMTP id s3-v6mr31882288pfk.191.1537290309923; Tue, 18 Sep 2018 10:05:09 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id x82-v6sm34575634pfe.129.2018.09.18.10.05.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 10:05:08 -0700 (PDT) Date: Tue, 18 Sep 2018 10:05:07 -0700 From: Dmitry Torokhov To: Martin Kepplinger Cc: Peter Hutterer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires Subject: Re: [PATCH] Input: uinput - allow for max == min during input_absinfo validation Message-ID: <20180918170507.GD177805@dtor-ws> References: <20180918052256.GA23446@jelly> <19cbcf47-4ab4-7dd0-392a-9a47b7264999@ginzinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19cbcf47-4ab4-7dd0-392a-9a47b7264999@ginzinger.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 18, 2018 at 01:13:47PM +0200, Martin Kepplinger wrote: > 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 Applied, thank you. -- Dmitry