Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp152738rba; Tue, 26 Mar 2024 11:47:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWV31E2VOMjZD12mzioc57SB9kzhTMLjyuXt34b5RPJPKvnDWAlMlt7E8oKQ93Drtv0+qI8mX5c7LRMzqx5ADfx0R87mLXTTEha8ufYFA== X-Google-Smtp-Source: AGHT+IFh8plPAg6VcOM3HqPf6XBXsds8CrssXZ42bX7nuFvZGDYsFmRIeJTySoU1nS+u6gfc8X5p X-Received: by 2002:a05:6a21:3a47:b0:1a3:adc3:ce29 with SMTP id zu7-20020a056a213a4700b001a3adc3ce29mr707581pzb.15.1711478821584; Tue, 26 Mar 2024 11:47:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711478821; cv=pass; d=google.com; s=arc-20160816; b=wojq3Ab9IeMZvl4WK+as70+Y7G+qUu26ULzk0yYHpBMx9rRkwLDPVakVbIsv4wPUfE bX0aBHStOBkke9U5wVehfw/nbRnj/VxvIho96Xc3/RtKUv169q/Tm1ciG+qbF3nYo3Hz 884aV2ugcJ+mpe+rodo1yXjXADzVg2C312Wp5HSMzmD3kE5HMcgxexN0KmlLv3xCRGFM HU1PqBxcVrQ0JiqO/8+Bpnt2IiMbqlgNQwOnGagYP2WGjeyN+pwVF2JTE0IC2cEjRO+1 /lf3/xe9FIstXwENIDBTzdZ3WW3rBddV4mPVzsyNwyM0CZf+sU8S2bPYKOeCHfIGHWTZ 0Nqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:to:subject:reply-to:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=VEYyKzV+7KLu8j1+bYTwS2eazaf/OrVv59VycEAU/Os=; fh=HK6t0SFPvSh88TNcprQy3ad2PhCK0eaoptA9zvoG5Hg=; b=kszdxr2NCMtHSEKtuFpzX76Aqj3ddDn4xQmXMt0TPRTzQQzXr49JVX7kzvI4UnMOMs jE32u5HL32MIBNr9anvU8SmbCJKxEM/xCY9nkQABiVyvIzTWZovK7tciFL/gmisU+2YN gGTBO7AkTGZEYEG7q8zXZDytJjaZ5eKdESbd0ji5N0q3HKMngNSWiW+Hh87v4KgkkZON TdtZOOxT9v4cllv6Hbs5oNcwoukuoscLMsrc35H1X5/hzj4KdX/NUECwpugUZmDdJSEx DThzxWNI7ISOZLPhtxGNTy2r3+z9V55YHgswt97cbHzYPaVsIOJ8tz3+/sYfnXGq77Sy EUxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=ryFfH1jJ; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-bluetooth+bounces-2801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2801-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bm7-20020a056a00320700b006e6c374f109si7402896pfb.38.2024.03.26.11.47.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 11:47:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=ryFfH1jJ; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-bluetooth+bounces-2801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2801-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D559E324DF5 for ; Tue, 26 Mar 2024 18:47:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFAAA13CA91; Tue, 26 Mar 2024 18:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="ryFfH1jJ" X-Original-To: linux-bluetooth@vger.kernel.org Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EECB513C3D8 for ; Tue, 26 Mar 2024 18:46:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711478808; cv=none; b=eIgSy/5wK8qIvsa1jdO+RE4LVnvEWZT9ZTMT1gyDaWbWAn2gdqVHdAZvXjDVTfzR8jmJnqGyWlanI/YAo4Uf3ljqDPozt4K1M/E+nmA3fplcOE6Z6eQFJaacLOf6lWrJ2cVonHNMxR+aUtVmeZzpHuKfTaLsaIAadu9rZ1PhZ6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711478808; c=relaxed/simple; bh=Lfpy+o0TDJ1LR4DY+MLKXblS1exEVtPSo+x6Lgx0wFM=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=WZJJ1DNZaM0BCcXaV/H09B6VE9aAuwMBwfFg6nfih3bHAjJHPj+LLcIz13ncmgdvJ+pBktp2vtIoh/k9GXSBDX50TSJBmj0EbrVaJXolOPGoBdzCTL4dI6wFIVx09DEyqzBg+nhB/l4ChpSiYtAn6QlCqydVuGw5M3XmkvruhbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=ryFfH1jJ; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=leemhuis.info; s=he214686; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:Reply-To:MIME-Version:Date:Message-ID: From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To: References; bh=VEYyKzV+7KLu8j1+bYTwS2eazaf/OrVv59VycEAU/Os=; t=1711478806; x=1711910806; b=ryFfH1jJZXwKrgz5t28n3k8NRC3fM2MsJQ6a4Whb49IxFl15TmiCbovVVf0eZ ili8i4e249m1W5WmgdXdTLkGaVbiroV0kTDhtjoMJQeQYeMEL0F1wbIPNI+TY6FLvfNQPYf+CMghR 63inpu1+MsH6vrjxlMJPgGS7HIlKrsFvRSWw7oUaYiAR9BU4/We/vAWrcSdmaX0sABQ7HX2gY9ohR Aqpw5GlWiDuiOrl54H2Qd86NfitulX8qKBQTKWEe6fbfvUJ2gULcixsPuCs4zxxo/ykQC9cjnKSjI aDBmRgHS1C8DejqjY9z7A1BbNaMpmzZKTne414WzGENcEcddrQ==; Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1rpBop-00059j-VT; Tue, 26 Mar 2024 19:46:44 +0100 Message-ID: <7c82b5a5-f2fa-4136-b5f8-9d3874869dbb@leemhuis.info> Date: Tue, 26 Mar 2024 19:46:43 +0100 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Linux regressions mailing list Subject: Re: [PATCH v1] Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync To: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org References: <20240326164317.1460864-1-luiz.dentz@gmail.com> From: "Linux regression tracking (Thorsten Leemhuis)" Content-Language: en-US, de-DE In-Reply-To: <20240326164317.1460864-1-luiz.dentz@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1711478806;cca043ed; X-HE-SMSGID: 1rpBop-00059j-VT On 26.03.24 17:43, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > hci_cmd_sync_cancel_sync shall check the error passed to it since it > will be propagated using req_result which is __u32 it needs to be > properly set to a positive value if it was passed as negative othertise > IS_ERR will not trigger as -(errno) would be converted to a positive > value. > > Fixes: 711c35949648 ("Bluetooth: hci_core: Cancel request on command timeout") > Signed-off-by: Luiz Augusto von Dentz This fixed my problem: Reported-and-tested-by: Thorsten Leemhuis Closes: https://lore.kernel.org/all/08275279-7462-4f4a-a0ee-8aa015f829bc@leemhuis.info/ Ciao, Thorsten