Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp912570lqo; Fri, 10 May 2024 22:26:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4MeK2TqSsLYBEW4gFqVzlUbF5WWFfZsE7IEQ3P768UEynU8A+UpHMilLHCmGuxTfSzElH1NYIp5r2tZLvRfFCXI7VHLElaJOdpi178Q== X-Google-Smtp-Source: AGHT+IE7sCMAWoi+va4eMyo/W4UjKf4WRZUU0CR8Dy1EKfccH7zksHeIqsDNmY86/hrCn76CqBIL X-Received: by 2002:a17:906:b7c6:b0:a59:ef1f:83e4 with SMTP id a640c23a62f3a-a5a2d6417f0mr280582766b.59.1715405202419; Fri, 10 May 2024 22:26:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715405202; cv=pass; d=google.com; s=arc-20160816; b=GaNkB9FdC6JIZnqSWbmVkhs8uUSRqVamphUdyo62z3pKrPcNoj6DGRxTb0+MA/Hy+V sOWPT/Pnfy2utfc3cvcMLripMaTltWRQF+dCqw4rcKIqhuZKrIbTyUDwbZ4kXTP2cW+Q n6dhMpY5mV5RUudWK3ikhNhGVZ65AYeFvytfoGvIc/yhXL3Eyl+lYdV7mFsS1aUbofL9 cXvBEUev0nKB15IrHS2exjf4wrrDtUijxU1UkxmaPnaOB9YX+5AFg/FhKKSx56a3Wfr8 2yaeLaExm0e8r/DbIU2BWStfRpPMQyHncLWOS/C1HrmAM8D3GzqKVFefNwE9SsDBkElb VfBA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=YhBAmbZgkA1lGHn+QEeRjk1ubr0K+h+d1mk0nJCJrjU=; fh=XGwZBG73NRRLRMOodnrusp1aqADp+arUwbasTVw4RRY=; b=CTFz3q4Fg84UTj9bVPu8Je0GAYrGrO4FnWOEGtfbMEzaspLO8JEiIbS0VnwdHaWldo 65C3cwhK88tc5LHuIvttCJ0D2Y7sRhNd65UjWKE4Btk9nWdFSaUNlQSx6HoszN4lTQpE Z6eNlgp4EDsUIgw1T2L9nCScf9raMK9BkBnjGCRxKj7o69srz0HsH0ENJVlDHGf3K84k H5DAZ73tSRrX8HIuYy5v4TQWsyOv1KmagUIOv6eZxL9DdUOeJOfZsQiJeeVcN+efu9p0 hcSXxoCZnQeo7kH3oynmrQFy+R94nAYvOowAwivMmBbjASWD7BHC1qiWBoPjTdfAa627 Zgtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QKvfpK5e; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-bluetooth+bounces-4525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6ad2si255508066b.843.2024.05.10.22.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 22:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4525-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; dkim=pass header.i=@intel.com header.s=Intel header.b=QKvfpK5e; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-bluetooth+bounces-4525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 166061F228D2 for ; Sat, 11 May 2024 05:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 741EB4776F; Sat, 11 May 2024 05:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QKvfpK5e" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 8CB01802 for ; Sat, 11 May 2024 05:26:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715405195; cv=none; b=BUBWDxMh9YVZs08OxAN3/jMfDno6fXIsWKGxNmf2WIQ6tRP8JRLVLKmgnbVl3xlMveuOH5ORX3hbNdUHxvbrRmPIFLXKCDzgA8Km/0zr9iHpfzm+BJdnCEMYU6my/vNUTCHPJbT/NXcDEcpqbtONlGLqhx7VuWK2rbWbLvrPS5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715405195; c=relaxed/simple; bh=wMB3Yyue7FJp1DnViiuNlGyK6qxTJvZbbzjf8laO12g=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=X144P1f0OSsj6ZtUbAX0Z6pUGYw2iqtpg0elHrQ12hJG7ohAEUZg1qgVeY2AH6taxxJl2/a7tOt0qIRLF8jlADo2IMmrCHxyiWL/Wf2wpsPT51+xBI8rzmhA5sOVY/4oUGJz16wNUzP5zH+jTxsLVjcrKeXygAKLfedbVloZ9C0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QKvfpK5e; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715405194; x=1746941194; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wMB3Yyue7FJp1DnViiuNlGyK6qxTJvZbbzjf8laO12g=; b=QKvfpK5eh7++2FNUOEc1V4IkeB5Fqfha7MXDQdziould8xjkOofaMk7M 0Vbp/saqJv5SvagN8IpvaEOGLMIxP4bR8pM8orvZIDStSGYPQjlLT7ryU 6kvtVeID/lb4kd1B/aR+mZa+RwLak4vDP/fRRe4g9HhFo/j6bCynBIwWC 0jJ440lmE1JqTekcRLMhzHcyk+9iDRUdi6bistgSZOhzeGLlZwmj0rp1q xGdfw9LMkFPwzEM9NmBJOqp/26QQC98Ln7rRqJwfp/Fn6+EgLExK5CRGx 2D2ilmK2b5fOg0aBS+t2U+9217w02lZvb0wZie692vKiEerFF0evZnFc5 A==; X-CSE-ConnectionGUID: ahM+o3f7QHqMBfHQ9qkyOA== X-CSE-MsgGUID: eu8Eo8DxRCKJtTbWC7jF1Q== X-IronPort-AV: E=McAfee;i="6600,9927,11069"; a="33917271" X-IronPort-AV: E=Sophos;i="6.08,153,1712646000"; d="scan'208";a="33917271" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2024 22:26:34 -0700 X-CSE-ConnectionGUID: 0VGjzD7CT/uNperZFqFsYg== X-CSE-MsgGUID: OqXXcG4ASEeqP4vbVzNoDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,153,1712646000"; d="scan'208";a="29790237" Received: from intel-lenovo-legion-y540-15irh-pg0.iind.intel.com ([10.224.186.95]) by fmviesa007.fm.intel.com with ESMTP; 10 May 2024 22:26:31 -0700 From: Kiran K To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, chethan.tumkur.narayan@intel.com, chandrashekar.devegowda@intel.com, Kiran K , kernel test robot Subject: [PATCH v1 1/2] Bluetooth: btintel_pcie: Fix warning reported by sparse Date: Sat, 11 May 2024 11:10:58 +0530 Message-Id: <20240511054059.349729-1-kiran.k@intel.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix sparse error. Fixes: a6c49bbb0b72 ("Bluetooth: btintel_pcie: Add support for PCIe transport") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405100654.0djvoryZ-lkp@intel.com/ Signed-off-by: Kiran K --- drivers/bluetooth/btintel_pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c index 2853ab80079d..030a75e5d2a3 100644 --- a/drivers/bluetooth/btintel_pcie.c +++ b/drivers/bluetooth/btintel_pcie.c @@ -670,7 +670,7 @@ struct btintel_pcie_causes_list { u8 cause_num; }; -struct btintel_pcie_causes_list causes_list[] = { +static struct btintel_pcie_causes_list causes_list[] = { { BTINTEL_PCIE_MSIX_FH_INT_CAUSES_0, BTINTEL_PCIE_CSR_MSIX_FH_INT_MASK, 0x00 }, { BTINTEL_PCIE_MSIX_FH_INT_CAUSES_1, BTINTEL_PCIE_CSR_MSIX_FH_INT_MASK, 0x01 }, { BTINTEL_PCIE_MSIX_HW_INT_CAUSES_GP0, BTINTEL_PCIE_CSR_MSIX_HW_INT_MASK, 0x20 }, -- 2.40.1