Received: by 10.223.185.116 with SMTP id b49csp1120505wrg; Sat, 3 Mar 2018 16:10:37 -0800 (PST) X-Google-Smtp-Source: AG47ELuAuxu2vtmc+AK3MErq4nxytV71cYrpsk/qNvRtL594AjSLOAkSHySUmiBXO9Nrs3q9O78z X-Received: by 10.99.120.5 with SMTP id t5mr8304139pgc.156.1520122236922; Sat, 03 Mar 2018 16:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520122236; cv=none; d=google.com; s=arc-20160816; b=1Eo5xDjvfhqMKrozqlEnE/Hgo940wbYkTwn3deX+nfEngGTOUiUBXh+pPUY4uPCsOO Y/83ehHN0I41JWyu3F7k6TFUUMSnmiaGZshrc4Dhc98t8t1CJR+4pFsmnkp8R691Yv32 MUywg4vsw3sVotyRIAWLagppRh9HMEuQNGrf+mGSZo+4cbsv29tcgW5SWjTdIjYF7avf WrGW3FZ1sN4t0e5DOkx6HmfAQ0gLKpCGPc590KnJeALE02XDtgtFZH4hlDVwsyGkOB5p j3AK2AFRbnpp9cgHX2e4lw00QZuTJoZYdtJI7Uk5Hl4XupjBeIQS6QIdlnwZn3Xgyo/R s9Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=h2tvQZDjDkEOHHEtmJSbBxmwzH9HRtNVoXxKyJ639oQ=; b=bQG8ZckD8hb01GOv72y+xtOelffl0/rmpzext87S4jJTzT72nArlk353mH73BumYCB fR7OmvIXSJ4RGdsAHr5EzYU3kEPLuO35ZXANNvtk95rBDGcAwftj5cgXVJIywn0fEpMH aWc23oHyF6PncGEuZ7iD25jgxl9DXlLF9a4mVzqdt704elEnYm+6XkcvRUFmxg4p2Xl8 gim/39pBh/Cqx23k7f388uFlVOJ9PdzvyCpPt8oRcbKIS/j/KChxe9DTHQnVExODmRgd ixkZhXvxZwVduMtW7VvsprW9FNxLd8TuVwP3+cQno2AxGgyKa/TV40hx8DP2VAAnF2FA Um4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Kjgq0rw6; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4si7395016pfh.229.2018.03.03.16.10.22; Sat, 03 Mar 2018 16:10:36 -0800 (PST) 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=@microsoft.com header.s=selector1 header.b=Kjgq0rw6; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933640AbeCDAIY (ORCPT + 99 others); Sat, 3 Mar 2018 19:08:24 -0500 Received: from mail-sn1nam01on0122.outbound.protection.outlook.com ([104.47.32.122]:11440 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933584AbeCCWbG (ORCPT ); Sat, 3 Mar 2018 17:31:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=h2tvQZDjDkEOHHEtmJSbBxmwzH9HRtNVoXxKyJ639oQ=; b=Kjgq0rw6Kw4HCrLjPRRNgafydHCzQmuLlwj/Eq1mwcbimBsxyMop+OcviOuJ8YMzKomJXV72l3OHSfz4K6WiqnZvQU0wC2P15KAJdUZNEHMFjcmnGE7PSppgYcQ8xzSQV+NS9HW4zsXLKUb7OPfirxyOgKkV+hAeBXkxIKI+1ys= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB0970.namprd21.prod.outlook.com (52.132.146.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.3; Sat, 3 Mar 2018 22:31:01 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:31:01 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: =?utf-8?B?VmFsdHRlcmkgSGVpa2tpbMOk?= , Tomasz Kramkowski , Jiri Kosina , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 008/219] HID: reject input outside logical range only if null state is set Thread-Topic: [PATCH AUTOSEL for 4.9 008/219] HID: reject input outside logical range only if null state is set Thread-Index: AQHTsz7iyVaArsO+pEagZD0oYs8g4Q== Date: Sat, 3 Mar 2018 22:27:59 +0000 Message-ID: <20180303222716.26640-8-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB0970;7:2HI4uyDBToVKbdd8hFChSLGLTdpZlvvvxAeMHGAfxTJcjnYt7ZFUjQpm3P0qrKWmN2YzWSwVPSgH7GRvXbQ1mXhVWSzI0baDNPbCaGpEJMuQBbuhujrbxmIvxcZGY0Fx9fozkxlEC/SijmXL+LcRsZsJsQfSFIpuwZm4RIg7C+D/wHFQBQDf6a6VcIP2TUbZtGzeWJeL/bazkXEsY87D7N1FfyW/zHW8ULY6vTNQ31uv797wrJxnXJ1cYK+gBfaD x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0a724fbe-3b25-47a7-5b91-08d58156714b x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:MW2PR2101MB0970; x-ms-traffictypediagnostic: MW2PR2101MB0970: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231220)(944501244)(52105095)(6055026)(61426038)(61427038)(6041288)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB0970;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0970; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(39380400002)(366004)(396003)(39860400002)(346002)(199004)(189003)(86362001)(110136005)(4326008)(6506007)(14454004)(99286004)(8936002)(1076002)(36756003)(2906002)(102836004)(76176011)(25786009)(6486002)(316002)(478600001)(3280700002)(107886003)(186003)(54906003)(26005)(81166006)(966005)(7736002)(8676002)(6512007)(6306002)(81156014)(305945005)(72206003)(6436002)(53936002)(6116002)(86612001)(68736007)(3846002)(2950100002)(3660700001)(10290500003)(22452003)(10090500001)(2900100001)(106356001)(2501003)(66066001)(97736004)(5660300001)(5250100002)(105586002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0970;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 382H0fKmhH1G1HVwmr285DNweYBHr0DasHGwyEDf+mP4y2gKnVLRMSpbImLzXlz1oj/wqluqiYWrxpxPxSdgybX2VQ8zcru38VwfOB04NA0nRxozpbLxXcJgvPpAbsuUmPNHdAc5lhSDiLWiiSj9aPiHJ8ckQRE2V5owQue1IPk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a724fbe-3b25-47a7-5b91-08d58156714b X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:27:59.9631 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0970 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogVmFsdHRlcmkgSGVpa2tpbMOkIDxybmRAbmljLmZpPg0KDQpbIFVwc3RyZWFtIGNvbW1p dCAzZjM3NTI3MDVkYmQ1MGI2NmI2NmFkN2I0ZDU0ZmUzM2QyZjc0NmVkIF0NCg0KVGhpcyBwYXRj aCBmaXhlcyBhbiBpc3N1ZSBpbiBkcml2ZXJzL2hpZC9oaWQtaW5wdXQuYyB3aGVyZSBVU0IgSElE DQpjb250cm9sIG51bGwgc3RhdGUgZmxhZyBpcyBub3QgY2hlY2tlZCB1cG9uIHJlamVjdGluZyBp bnB1dHMgb3V0c2lkZQ0KbG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