Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp703053lqm; Wed, 1 May 2024 13:01:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVq2my3312jekWNI+bSaVyNyMKHrk8heT2IFzG6docg3zXS3G5RJHMLuL5C/eAQ4Rky/frMUirz+DRGQqqfyhRuQ3p4L5bpXTgLHHz1kA== X-Google-Smtp-Source: AGHT+IHpgh4TeByAwl7sHrMZhusJYZafr3ZmD3tDKqFeZ/OXGIpmr3vBVXfdgZWgHjmWiU5GshT8 X-Received: by 2002:a50:f689:0:b0:572:7c5d:6ed5 with SMTP id d9-20020a50f689000000b005727c5d6ed5mr61036edn.22.1714593664795; Wed, 01 May 2024 13:01:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714593664; cv=pass; d=google.com; s=arc-20160816; b=IXstJcLS6d3ThI4zUBUFAX+pBiCOaboL81fbvcz7jOh90RC4IQGLpgunyFSmu1pCJ3 fv4QRUMtCkmIvLmJLXQlIr3czO2PwkGhKAN0BRjBWPG7k+MiquA9+6klG7LCgr+4igdE Jw5vWElK6DqgyTRBYoAnfbAtXM7HCFgC6wezcFQ4MU422Uj6AAfivsNQninUqX9t9KoH u6O01U0cPyMMlQWhMYpjzCyxNQ4im2h91en+JAzB2Fi78EQ6yBshhWnx7HFQ8Czs0DS3 qta7uAL+3GshwbZlOThKUnVgDQ43E8GgpmxAsqXJV4GAG+J7oLkV8QDHRLRrGA/hbM/U 9Wug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=2TNMWRhnT6BEkFrg9HEVS7abt6YoryLpBvkTjVqXzKU=; fh=T6WZ6GNZuwSFENb2GUG5Mu4TkG+VCVrCUFfxRmDnrA4=; b=YI5u+bIBsdcfv+L6TspLtQal0pbocT/vnE8XuedawTvaZRgW70yoG/Wp1uL1FKLn9l kkCF+adqpFMYfsPLy/dWtlo8XLJldy88xTC/RgN9rMaO2/fdwmW7144Ahs+dFfpQi4Mt SDOA7o0BwM00wYujpYmmoO2sFooKV8dA+D6sZV0ElmitXSnnWJzJjNjnZMWxim/emaHh uwV5QVM3uu3ZRXufdVtxXT+hFtVWhc9MQUulzgUQRUvJ5AtPXJfHzfLRLo4k+qxokpBG SuzaJQU0rmO95WKMPYDDA6HN8rOsMy1Cv36yUG/0buwp+4ohv8w+MhgXsWmLEJ0i/0GJ ip6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rOB6p/3E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165733-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165733-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id de14-20020a056402308e00b00572a22aa0b2si1525021edb.107.2024.05.01.13.01.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 13:01:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165733-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rOB6p/3E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165733-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165733-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 84B9E1F22ADF for ; Wed, 1 May 2024 20:01:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 342781649B3; Wed, 1 May 2024 20:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rOB6p/3E" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.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 4354F161935; Wed, 1 May 2024 20:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714593633; cv=none; b=FODFdUMmRNadCTmsIYXL2zv+sqGRveJq+lkVObRgFrZQVGCgMn7jU3/krWDunNSefDFeNJsdMW9nDlwc80OHWG4UzQBzMjN1vXTUpbzOW7+vdmYDMkyWSr4ANFtAxcxt2BbW4y99d83kBNo9g8C/W5aUmT5Bz+1ozZ4Mj8tQFCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714593633; c=relaxed/simple; bh=YKtZHOVcfK5pZifTsmCfvuROX7xhfvNANJSNxpShWXU=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=EPBlZuAQnmWfTxXjra2rmwcoj+rRBrBLs7MOJ3FQ6Cs6YCp7zbhqVTjWtB89d0jryYkqJB8eKcPqINE0E49xA+cQSdT9MGF3XXG1lnziHqE5HkjsStE+ddcI0aykh1YLDdM8tKswCODWHGxWVvn4w5HTLVywhwXmjsqoQjbTFc8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rOB6p/3E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id DF878C4AF1A; Wed, 1 May 2024 20:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714593632; bh=YKtZHOVcfK5pZifTsmCfvuROX7xhfvNANJSNxpShWXU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rOB6p/3Elfv1x7wXeXd3ApGYwjld6NKQoaTsTJiBwD7skuvvcIT93h1/RuAU7SkW6 TA0KcGHZhARxdtFYgpPawmQXy9mnxwE1PlqNLsIEs3I4fQf1tNcoDl6onX5m3l1ses 9lNCtgeofn8JC76Owtue9mXrcTIUOfy9634GSL8ZfL2FtAh4I/fTuQaiYh0JDEC7ju monnyF/9FLnT55sKJ5HhTqt6UIPAbeNhwymkl5Tf+HnhMvC8niv0cL6f65yd1/FnTB 01ax01OdiSSy1VZNxBt27+zWns5D2cjh5n228Ho/zdcjSO7MeiShYMMJyzi1ePsgtb 0wW6xDXkwEjgA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id CF892C4339F; Wed, 1 May 2024 20:00:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH][next] Bluetooth: hci_sync: Use cmd->num_cis instead of magic number From: patchwork-bot+bluetooth@kernel.org Message-Id: <171459363284.6729.3328094972268043156.git-patchwork-notify@kernel.org> Date: Wed, 01 May 2024 20:00:32 +0000 References: In-Reply-To: To: Gustavo A. R. Silva Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Wed, 1 May 2024 11:50:02 -0600 you wrote: > At the moment of the check, `cmd->num_cis` holds the value of 0x1f, > which is the max number of elements in the `cmd->cis[]` array at > declaration, which is 0x1f. > > So, avoid using 0x1f directly, and instead use `cmd->num_cis`. Similarly > to this other patch[1]. > > [...] Here is the summary with links: - [next] Bluetooth: hci_sync: Use cmd->num_cis instead of magic number https://git.kernel.org/bluetooth/bluetooth-next/c/39e4d6fb881d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html