Received: by 10.192.165.156 with SMTP id m28csp46606imm; Tue, 17 Apr 2018 06:21:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/GyroNADXsDzCZ1Pu2oDQcwKBqOx3zieP254ZY5WQLs3Cr8R60wDPH0Uo+XkZMzOcKxaQ6 X-Received: by 10.99.181.5 with SMTP id y5mr1747120pge.279.1523971275986; Tue, 17 Apr 2018 06:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523971275; cv=none; d=google.com; s=arc-20160816; b=LmyqUI18jvYV8UBqVXj5e6Cl+ndSDghlFE64rysh1MTa9rdNCw0h1Kvi2sj17XfV9k Zmoqf7YVGGKewY9C9Qtb9cVgQdm1xsV9VBk8CZXqUhPBTs6p1qqwX8rID5/4fz8yBK6m RMqurFbm9KuEEHdN+bI7S0jQ964iVSvJ4K7akUhVJQ8QjaHv/GLtpMzwaZErY3xtbhDm zqzczI5ak4vMBMKrfNks945AmyXsb47b1NwsnzNz4dtsfFcIcONwZra2HNBBUdCm6k6d MD3kW81ksW3p+2zdSuwci+P1sqhPzEGb7WklvOUgt8Jz5IpHLXBKjdvrnB2KzfMuZcvM Y75A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=rHS51u4tHS+Nm0JPM0Msk5S39BJ7O933XZcQDVzPYHc=; b=J1Qp2HlyYt/bEgpOuDr8uWWbM0wDcal28D57NV43+utjPc5zhXri40+Y2JQv4ACtU0 h7kKRUQIbKlgqei80pxy5n2Pwnj0TKRdqxm+8Y5+y2kTky0iX8noC55PGEWp9sHW9e8u IZf3Gdnf75SGUgkpABG0OdXEEW7s0+N4nyGBv63lLb7FD1D0erB4loduF2gyQJ5tayTf iqCKaqmU3QEBBPwqXFotBtGZplvuFuq3LxRRsuAbxhj83BregDwbx5kGipDxL0y9ic3u w6emaRlHrTmBu61M+brHjUf0/J3Ob3p8xRI4uoTn7scdX6T1ZxyQolPLtYJEgE6W/mEy I6iw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k21-v6si10762890pll.299.2018.04.17.06.21.01; Tue, 17 Apr 2018 06:21:15 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbeDQNSm (ORCPT + 99 others); Tue, 17 Apr 2018 09:18:42 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39220 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753070AbeDQNSk (ORCPT ); Tue, 17 Apr 2018 09:18:40 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 214517CBBA; Tue, 17 Apr 2018 13:18:40 +0000 (UTC) Received: from plouf.banquise.eu.com (ovpn-116-75.ams2.redhat.com [10.36.116.75]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AC4D7C33; Tue, 17 Apr 2018 13:18:36 +0000 (UTC) From: Benjamin Tissoires To: Jiri Kosina Cc: Dmitry Torokhov , Peter Hutterer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires Subject: Re: [PATCH v2 2/2] HID: input: do not increment usages when a duplicate is found Date: Tue, 17 Apr 2018 15:18:31 +0200 Message-Id: <20180417131833.8551-1-benjamin.tissoires@redhat.com> In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Apr 2018 13:18:40 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Apr 2018 13:18:40 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'benjamin.tissoires@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FYI, these are the two patches I mentioned earlier. checkpatch.pl still complains about them so do not merge them right away, but this should give you a better idea. Also, this is the tip of my local tree, so there is a high chance it doesn't apply cleanly on your for-next branch. Cheers, Benjamin Benjamin Tissoires (2): HID: generic: create one input report per application type HID: input: append a suffix matching the application drivers/hid/hid-core.c | 10 ++++-- drivers/hid/hid-generic.c | 15 ++++++++ drivers/hid/hid-gfrm.c | 2 +- drivers/hid/hid-input.c | 84 +++++++++++++++++++++++++++++++++++++++----- drivers/hid/hid-magicmouse.c | 6 ++-- drivers/hid/hid-multitouch.c | 34 ++++++------------ include/linux/hid.h | 6 +++- 7 files changed, 117 insertions(+), 40 deletions(-) -- 2.14.3