Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4982196ybl; Wed, 22 Jan 2020 08:10:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyk5PfVheidQBlbwCvez95tbBxmhgD8Er++myjKCzjFtQzLOZaPDktCu585Hi7ot1/JbYXJ X-Received: by 2002:a9d:6758:: with SMTP id w24mr8226216otm.155.1579709454949; Wed, 22 Jan 2020 08:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579709454; cv=none; d=google.com; s=arc-20160816; b=wsC99dZZLnrPFE24SLVYkR6Wx4vRgYBtOZX7AqZnJCFu1XFpNugakUlBF7tdZZ33d+ 5m1z/NKROhdGUY4EDuEzeBlHl+Q3XU8KmfAkxYML+QiMmK8MtzNf24wnouRueYTia85L EO7uVmBuNJcGfsLZSkxmUF+0QD8nWqG+/f9wJP13ACrVtM/wjBU22kYktpmkuQfFM1Oa x18SmN4WzEDc0Uf8HkQcKBCmRN2MY4505UvhGVCvwfgct5Ort7xnJefkcgMmJsN+mWcM EBxUaIy2X3kNZ1ldiF2zLjKc3drbRYM/7Oroj2WptUlUXgh4Q84PKauR6qGnad/6qAya JG7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eHF2IKiRh1iKsIm+VtNSl0gaZ27AZU2CCcJv/7yPvbs=; b=B3Uey09pn7y0w1XP9R2YZlEbPNoBNsWQ/+IN8a1+W4qfOrehxPpuUDkSauR118CwDA TRr2yuw87k/HDRGt69XnQnKUz2tHmfi6yLXoYdnsdszRBCBcFNrt1jjwVbMALehcEGMP Chq0xVcf7G+crWSAjcyND4PcxkrEzG+oZIw8bDFjk4Zi/DWKksVC3MfpmP+O66DWJQs5 8ielZ9wdwb/Vr5QpBSne6DYekW8CJLN2VRPan4GI0yRuElMHVKb1H7LU6Y7RL2okOtP8 0Zd5IN17lUfod9+gJIL/BLVzdfe+LsZkZ45r5oj/CFMryAkf5oH62WZ/7bmdk/ogfHEc ddrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=an2tVjAb; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si20678495oii.114.2020.01.22.08.10.28; Wed, 22 Jan 2020 08:10:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-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=@chromium.org header.s=google header.b=an2tVjAb; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728665AbgAVQJV (ORCPT + 99 others); Wed, 22 Jan 2020 11:09:21 -0500 Received: from mail-vk1-f196.google.com ([209.85.221.196]:44839 "EHLO mail-vk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbgAVQJV (ORCPT ); Wed, 22 Jan 2020 11:09:21 -0500 Received: by mail-vk1-f196.google.com with SMTP id y184so52380vkc.11 for ; Wed, 22 Jan 2020 08:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eHF2IKiRh1iKsIm+VtNSl0gaZ27AZU2CCcJv/7yPvbs=; b=an2tVjAbutvzUxefOZCR27RXA18vElgnwg4dh1Nt2Lt0SyevoohnadHImvXEHHNBc9 BVcxYEQ9t6Ef4h9A7d8ywoT6MpDVsIE7avWDhWxY1dNM4dgIPTSuseYgwSQccQ4Kd0AO upzif7rQFuvhShzbxoGXy9vdTHUob0JxY/VPw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eHF2IKiRh1iKsIm+VtNSl0gaZ27AZU2CCcJv/7yPvbs=; b=fPsHSN/HayLb0GHqMUXJjUPAQJnCSU8fvG/sKZMS+L1doYaSEqZ8u/VhvxnWfXRVBo eUHSJGz0+buwTSDQyy77TJnuAC7G713OQa6pFLxzBulm8eGvcP2L9MMsUF9wnIpPe8/i VMTPZXymcsU0dfU2z8qPLc9xQcM0ezAYm6rpxNTopPj21vb7GNUqUv6kCBG4GwyWpEMz SjBw3cjqgY72moo5oe2CutdNEGrzBLFs6zqxYzmz3NfkRoun0diVLyMA9gn0YKNf6vAc 7UTA7WSwcSuyCqxM7levyIXbufjMVUshHWCeCqQCaSG/8T6kXecccd/RcwFqO4bzW7jU lsIA== X-Gm-Message-State: APjAAAXqbpo783IlvPS6bc+3ClaIIWIZAIm8hT2XdXk6k4qvrqNl+PQE bHymmQ0sjxZVM8OcydpgRo0m2kLQneY= X-Received: by 2002:a1f:18cf:: with SMTP id 198mr6590392vky.61.1579709359624; Wed, 22 Jan 2020 08:09:19 -0800 (PST) Received: from alain.c.googlers.com.com (69.104.231.35.bc.googleusercontent.com. [35.231.104.69]) by smtp.gmail.com with ESMTPSA id p145sm11983228vkp.43.2020.01.22.08.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 08:09:19 -0800 (PST) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [PATCH] bluetooth: adding missing const decoration to mgmt_status_table Date: Wed, 22 Jan 2020 16:09:16 +0000 Message-Id: <20200122160916.156321-1-alainm@chromium.org> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This change simply adds a missing const decoration to the mtmt_status_table definition. Signed-off-by: Alain Michaud --- net/bluetooth/mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 0dc610faab70..3c68a366977f 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -176,7 +176,7 @@ static const u16 mgmt_untrusted_events[] = { "\x00\x00\x00\x00\x00\x00\x00\x00" /* HCI to MGMT error code conversion table */ -static u8 mgmt_status_table[] = { +static const u8 mgmt_status_table[] = { MGMT_STATUS_SUCCESS, MGMT_STATUS_UNKNOWN_COMMAND, /* Unknown Command */ MGMT_STATUS_NOT_CONNECTED, /* No Connection */ -- 2.25.0.341.g760bfbb309-goog