Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp368369lqo; Fri, 10 May 2024 02:19:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVum1ZjhPPnr6tqytpFpT6aRWUjC96xQpkknd1G5JeXyRJvW2qIf0BCgArQNWOSLDgaKwE36vMc8i3PVdUwG0SxUZQFqJTCK/lSShq4nQ== X-Google-Smtp-Source: AGHT+IFF6f60xxeKSSO6Jh5XQif4VWAWEsbG/tADJyHnjtasHEfvUDdhQqw/gKBQbxnbHWqGNfpA X-Received: by 2002:a50:d654:0:b0:572:6cd5:f8d with SMTP id 4fb4d7f45d1cf-5734d5ce1b1mr1447332a12.22.1715332748588; Fri, 10 May 2024 02:19:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715332748; cv=pass; d=google.com; s=arc-20160816; b=slEXZZOXowsk3OFf9mRZrzInKlQiD5b+casGeHZlH/dZWkTdUCVt3n0j+vcOkb+x7Z VbrZViyjZdqzoHngVLnIibTBC4N2aHFEY3+MUtIiYzkrbEyq/XSRVOtAijhAhMiFlNV1 DfE0tWAYdgM36EArCKIErVtlyseHf8Y3tFzxnE8LJ6w3lEmiOf3upDilx0QPYs4k96Pv WhDleyEWCmjcvgiD9oAKzgeWfD+8RrYuvqNOIquEY0ZoYXlxEjnXA6BRNDOp3cLnkTy+ dgoZL0SgEFv5cCYT5nWTZvUAN0dm5XVR7D/QjkcnuP4tgftuGE4eQ+igfv433RTYU2UL xRyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from; bh=0sB9GK/DC+eBtU8eqkSeIIRxjdqA3bXBjsHBnVbNQt4=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=Va0xY0tfzkioZeUO9nFkIWx8Ip1KfohkwjZJ+vRaObmsJsbUpICN+zAgzGzk78XrYS vXhcyBtk3ho2bvX0oWcMnXdFhbipa76U0hbeLmWXDZIrqZGQFZvOwiJRoKzof2fbL2sE kXbg58mL8tAlQ/0ZEZsAHAKzyKKDCa43f4orxezITQfRBT+lgpxMzemvxAMVOCsL/kwe BH32M7/Czec2sDc8ANT1J5gLeUhlMdSO1roob7BuAGAE/XSOAOB9INN6yrTnDuw3BsAE P3mPLlOGkV5KWRxBiwwf0ivWskSOEVNTkq1MidtvN+D+THhSReffpw5xejZmIfKyy1H9 Sw2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=hadess.net); spf=pass (google.com: domain of linux-bluetooth+bounces-4459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4459-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d5704si1828447a12.319.2024.05.10.02.19.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 02:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=hadess.net); spf=pass (google.com: domain of linux-bluetooth+bounces-4459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4459-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 537DE1F21702 for ; Fri, 10 May 2024 09:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68AB9168AF6; Fri, 10 May 2024 09:18:29 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 995F3165FD8 for ; Fri, 10 May 2024 09:18:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715332709; cv=none; b=Vz65sskxuKK+cDLi9fnL1vk5E170S8Hj+7PcV+MlMkTFtah3zlEoT1OV0dYVtwkWjff5MiWOCIRSdur3Lar81YQMVF7xwoeXgkTgLbYLR79eql7RMTSrPm6EXIN9hjKsFP9lJomnSw5ntS8Hr9D1HIkZF8BPrlxbWtOLyazkzvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715332709; c=relaxed/simple; bh=UVmzgHwRrHupYFJb/Xbq0QuAhlgLC7EEyPNuRozn0po=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kgAg4R09TNdWuMA+cxpmIdZx44DEH0Hig+WzpoPyv8UhAU4OdCmsvaFWmnwEwrzu0KUoxnBoqRJWETELMHAa6GmxHvb1mW/DcfllWOxpArzbxvh5UKXNMLpkSzGZncrb9N04lEwTj949KJYsxC4UKOEabt7KFIcpokiQPFRmpB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net; spf=pass smtp.mailfrom=hadess.net; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hadess.net Received: by mail.gandi.net (Postfix) with ESMTPSA id 0205A1BF214 for ; Fri, 10 May 2024 09:18:17 +0000 (UTC) From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Subject: [BlueZ 13/14] client/player: Fix copy/paste error Date: Fri, 10 May 2024 11:11:11 +0200 Message-ID: <20240510091814.3172988-14-hadess@hadess.net> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240510091814.3172988-1-hadess@hadess.net> References: <20240510091814.3172988-1-hadess@hadess.net> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: hadess@hadess.net Error: COPY_PASTE_ERROR (CWE-398): [#def95] [important] bluez-5.75/client/player.c:1846:6: original: "qos->sync_cte_type" looks like the original copy. bluez-5.75/client/player.c:1852:6: copy_paste_error: "sync_cte_type" in "qos->sync_cte_type" looks like a copy-paste error. bluez-5.75/client/player.c:1852:6: remediation: Should it say "mse" instead? 1850| } 1851| 1852|-> if (qos->sync_cte_type) { 1853| bt_shell_printf("MSE %u\n", qos->mse); 1854| g_dbus_dict_append_entry(iter, "MSE", DBUS_TYPE_BYTE, --- client/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/player.c b/client/player.c index 6b70e9ed3f9d..7f67425aaf8f 100644 --- a/client/player.c +++ b/client/player.c @@ -1849,7 +1849,7 @@ static void append_bcast_qos(DBusMessageIter *iter, struct endpoint_config *cfg) &qos->sync_cte_type); } - if (qos->sync_cte_type) { + if (qos->mse) { bt_shell_printf("MSE %u\n", qos->mse); g_dbus_dict_append_entry(iter, "MSE", DBUS_TYPE_BYTE, &qos->mse); -- 2.44.0