Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp469049rdb; Tue, 16 Jan 2024 06:11:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvguw1igStkKy53Y/nd9qDMt30drjLtQ1yFWQHIF00i24CuWZQFPNoszLXgj2FBsGj1ti7 X-Received: by 2002:a17:907:910e:b0:a2a:23b6:fb2a with SMTP id p14-20020a170907910e00b00a2a23b6fb2amr2521826ejq.106.1705414281785; Tue, 16 Jan 2024 06:11:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705414281; cv=none; d=google.com; s=arc-20160816; b=0n+EbQFD45WaWkVEYS4S/0x1OJbzFwLUrruvgHSgfa1YWP2AwYLd8di64VPZhAEwqo bm/1QsfeNtYoFpyKLdMsmDwiTBfDmRXHW0uBcjOjjNKTXFiAQ2pTwA6upTdDDGS/AwZO lO01aTDdbO6jGoAPRfQBJVBBkghPMtm8iALpzWkDyNCIuGZXlYgvhwy1yaNJYsr96T9L wlIn4q0Mq7apJs1+Au9LuDKXrWSnBx2c21P5zgRbfXi9IEkeK7YM9NXqAnAMfHANNygh uQdUxsIui9Feg0C+/e2LwZQG9QZ4bV7wEYxozkJfap+aOo4rP6sYomkD7HAvjCC56aJt HM8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=0qU7ZEPxAP6wZOtscQn9chcMt1GF8mnLblP1TVBnrMY=; fh=wm3knQjNzlzhSYO3l6/R1dJNTO7aXLaAzT309a/t7Bw=; b=KUvt4APByqOclhxTrxJGrohP3MfOFmc8W+TYd0VVZcHSNhElmVe210ZLZdRa3bCQKZ 5eMAC16Irs6NRyFRfEAWQ0EWpSrM1wNg4N5hF5ESvF7xdn5sW8rHTcFNofa2FRGkQJ+8 fP3wm7XMNYmV9oWSYgvx727ZFgNX8ixypigQgrXcZRY++Maqjxvf5Lwa3n50y5BfDXv8 cG6MV7G3thtKNq5MvgA9DigfqaJWqj/xHJmrenbdGG6SN0zTwaVm5Z//D5rbyoVSlqaz 5aiyvnvMa8sgfK3nWt+oCFqvXVcNOVFYo1h1NALMI/0aTPbGt1D9Y9i+WgVt1S0kCCCF TWWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OYfawNJg; spf=pass (google.com: domain of linux-bluetooth+bounces-1107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1107-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 z3-20020a1709060ac300b00a2ae61c4c32si4850628ejf.277.2024.01.16.06.11.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 06:11:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1107-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=OYfawNJg; spf=pass (google.com: domain of linux-bluetooth+bounces-1107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1107-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 7F5501F24FF3 for ; Tue, 16 Jan 2024 14:01:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22CF11BF59; Tue, 16 Jan 2024 14:00:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OYfawNJg" X-Original-To: linux-bluetooth@vger.kernel.org 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 0BFB21BDE4 for ; Tue, 16 Jan 2024 14:00:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E77F7C4166B; Tue, 16 Jan 2024 14:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705413639; bh=OvbIhiPoQS5zM/o2nWQnkAR+ZmHVvUDGRnRbY42KlSk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=OYfawNJgCEU9eFqZC629+Fh2eJMtCB11hKseBso6LB6AGBrcctVONthKb74tLeXz/ k/tBw/cMDCAOi/Gb8CkbTVNtyYgUSl1t2ZvJhxESYaTk17RcNnFVtTKdF6o3VfBjZW pWDYnLwt3KNDPqloBH8pv3Tvr0ex04CuRqQn0HrBBIpc9H50/R8UWyIzOzJE9Y6RR+ jiltmVJ7JpJivLuHvsIdIsweFhcX9nAESr8r3XjVxd0pAj0uJssXmZ9R3GTCyszTSo LYsGIghP3WN73SWCUgIo9UpOJgClbNzt+FgWuRO4Jpt7EeaED7sYLRP+pSciU+o+yn TuQn+jEDayigw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8232C47DA9; Tue, 16 Jan 2024 14:00:39 +0000 (UTC) From: Emil Velikov via B4 Relay Date: Tue, 16 Jan 2024 14:00:39 +0000 Subject: [PATCH BlueZ 14/20] mesh: const annotate misc data Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240116-const-v1-14-17c87978f40b@gmail.com> References: <20240116-const-v1-0-17c87978f40b@gmail.com> In-Reply-To: <20240116-const-v1-0-17c87978f40b@gmail.com> To: linux-bluetooth@vger.kernel.org Cc: Emil Velikov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705413636; l=736; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=6tOC6zO5jyNErTKsxfQ8UiUAUopjHEVML0310cw+Lzg=; b=JSjJXFSnWAE4MeQNJ4JzFZDEPQDGDb7ZoYs/5pg4Leodg964HThBOPwsTxYDcraVqr6GQ41w6 GLijVFiDJeVD/eu0cYAe+C+K/ZZsOgzfY5PHdKxAvdNX/6qAuimDG0n X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: From: Emil Velikov --- mesh/agent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh/agent.c b/mesh/agent.c index 5058d0d8d..2f9697a33 100644 --- a/mesh/agent.c +++ b/mesh/agent.c @@ -61,7 +61,7 @@ struct oob_info { uint16_t mask; }; -static struct prov_action cap_table[] = { +static const struct prov_action cap_table[] = { {"blink", 0x0001, 0x0000, 1}, {"beep", 0x0002, 0x0000, 1}, {"vibrate", 0x0004, 0x0000, 1}, @@ -73,7 +73,7 @@ static struct prov_action cap_table[] = { {"in-alpha", 0x0000, 0x0008, 8} }; -static struct oob_info oob_table[] = { +static const struct oob_info oob_table[] = { {"other", 0x0001}, {"uri", 0x0002}, {"machine-code-2d", 0x0004}, -- 2.43.0