Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2490541ybh; Mon, 5 Aug 2019 01:53:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRNm0pZdVh7NV0BKxG10LPpMY4/oPFxrnQfYj1+i5FuV3sMuhjmLJ5089yS43JVzsJngST X-Received: by 2002:a17:90a:7f85:: with SMTP id m5mr17008951pjl.78.1564995187254; Mon, 05 Aug 2019 01:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564995187; cv=none; d=google.com; s=arc-20160816; b=I++j2iOj77x/2B1QS6d4Y/A6pwz+hy/kmgG6jQ5P4YLltq8KJqHEUcdZ63Luuq+XqC EjsHicm4Rflag0JuF/8DxLQ9Xaajh0rGHOATEOqgd3M/wkRAVPPR7JHIXfcWIsmpVXka iqiVW19EwjbKLwPoerJuAtCMH11Gor9IbjSnD2xqmx8Et629ktcfT+ZdkmAyqOoVSvQP qScsL4ooqeGUTzewwKf3KoOS2h/B1UOxkJs07f+1k7UNHqEtXY0vB5VOwytx5ugHZZ7C Zs6NT//TrgsmpV9oezYlrbBxSH18PJT7bzKMwbxF8sQxfZ+12FrDX4EToQT7tUt5SF8j zslg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=1hyMV47k9+pjJfU3zzPT2dEYquTWkqimMHmsNJ1Dg04=; b=N/vS8KWyLsN2/roqhcHRFVMNhTFugorrJp8vuf7Jmt8HT7T9YRTBTpgONaLQ93R1nw gYfNmNAA2ob/TPYAdL9RBxwDwwdBxDONr05x855ERmgvyzgCB1oDVR2tiSbUDhiAJPva CJCwvhtj1LH0801lB0zL/Y/7Dg4MkucML2ACwlkg37gVeNDTfIya2brfykw7qt5JBYiu b7eqvpbC0EfdK6aM3E50yRypi46mdV8bLNVy1uOUl8zyIpOxlcPkDmPHqeFANEtK8bQq P1YsGZKxnDn2mgm8YB3gPcgoSQRftZQotOYDQFtnspBso+YO1QjbhM42Jctv0LyBGB3N jf9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aTYYrjjO; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si39671972plp.329.2019.08.05.01.52.51; Mon, 05 Aug 2019 01:53:07 -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=@kernel.org header.s=default header.b=aTYYrjjO; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727783AbfHEIvj (ORCPT + 99 others); Mon, 5 Aug 2019 04:51:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:52846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbfHEIvj (ORCPT ); Mon, 5 Aug 2019 04:51:39 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 81C5E20880; Mon, 5 Aug 2019 08:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564995098; bh=YrDo9mF/VZxirGNdUKLXdwWYFB46jIYn5A2/ywodktA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=aTYYrjjOA86dK9a5t74lHfa0IjmVCMBd9ZdG+3/UhAxTJ9USRnP7rlaP26o5XzD4S MKI/gXHJ7+D9ukKu1G2tZXB/AGyhsh21RmsTOCOsKBfumwikhXzpGv1nanpofKDS76 jnqKW5HtSscJFYwWfgnTXKjUqSisFdhqO9SKIfd0= Date: Mon, 5 Aug 2019 10:51:33 +0200 (CEST) From: Jiri Kosina To: Hans de Goede cc: Petr Vorel , YueHaibing , benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH] HID: logitech-dj: Fix check of logi_dj_recv_query_paired_devices() In-Reply-To: <3e9bda5b-68dc-15b9-ca79-2e73567ea0a5@redhat.com> Message-ID: References: <20190725145719.8344-1-yuehaibing@huawei.com> <20190731105927.GA5092@dell5510> <20190731110629.GB5092@dell5510> <3e9bda5b-68dc-15b9-ca79-2e73567ea0a5@redhat.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 Jul 2019, Hans de Goede wrote: > >>> In delayedwork_callback(), logi_dj_recv_query_paired_devices > >>> may return positive value while success now, so check it > >>> correctly. > > > >>> Fixes: dbcbabf7da92 ("HID: logitech-dj: fix return value of > >>> Fixes: logi_dj_recv_query_hidpp_devices") > >>> Signed-off-by: YueHaibing > >> Reviewed-by: Petr Vorel > > OK, not only it didn't fix problems with logitech mouse (see below), > > but removing mouses USB dongle effectively crashes kernel, so this one > > probably > > shouldn't be applied :). > > > > [ 330.721629] logitech-djreceiver: probe of 0003:046D:C52F.0013 failed with > > error 7 > > [ 331.462335] hid 0003:046D:C52F.0013: delayedwork_callback: > > logi_dj_recv_query_paired_devices error: 7 > > Please test my patch titled: "HID: logitech-dj: Really fix return value of > logi_dj_recv_query_hidpp_devices" > which should fix this. Hans, have I been CCed on that patch? I don't seem to see it in in inbox. Thanks, -- Jiri Kosina SUSE Labs