linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] Bluetooth: btnxpuart: Fix compiler warnings
@ 2023-05-18 16:43 Neeraj Sanjay Kale
  2023-05-18 17:31 ` [v3] " bluez.test.bot
  2023-05-18 18:40 ` [PATCH v3] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Neeraj Sanjay Kale @ 2023-05-18 16:43 UTC (permalink / raw)
  To: marcel, johan.hedberg, luiz.dentz, ilpo.jarvinen
  Cc: linux-kernel, linux-bluetooth, amitkumar.karwar, rohit.fule,
	sherry.sun, neeraj.sanjaykale

This fixes a compiler warning reported by kernel test robot.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202305161345.eClvTYQ9-lkp@intel.com/
---
v3: Use __maybe_unused instead of CONFIG_OF. (Luiz Augusto von Dentz)
---
 drivers/bluetooth/btnxpuart.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index 3a34d7c1475b..52ef44688d38 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -1319,17 +1319,17 @@ static void nxp_serdev_remove(struct serdev_device *serdev)
 	hci_free_dev(hdev);
 }
 
-static struct btnxpuart_data w8987_data = {
+static struct btnxpuart_data w8987_data __maybe_unused = {
 	.helper_fw_name = NULL,
 	.fw_name = FIRMWARE_W8987,
 };
 
-static struct btnxpuart_data w8997_data = {
+static struct btnxpuart_data w8997_data __maybe_unused = {
 	.helper_fw_name = FIRMWARE_HELPER,
 	.fw_name = FIRMWARE_W8997,
 };
 
-static const struct of_device_id nxpuart_of_match_table[] = {
+static const struct of_device_id nxpuart_of_match_table[] __maybe_unused = {
 	{ .compatible = "nxp,88w8987-bt", .data = &w8987_data },
 	{ .compatible = "nxp,88w8997-bt", .data = &w8997_data },
 	{ }
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [v3] Bluetooth: btnxpuart: Fix compiler warnings
  2023-05-18 16:43 [PATCH v3] Bluetooth: btnxpuart: Fix compiler warnings Neeraj Sanjay Kale
@ 2023-05-18 17:31 ` bluez.test.bot
  2023-05-18 18:40 ` [PATCH v3] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-05-18 17:31 UTC (permalink / raw)
  To: linux-bluetooth, neeraj.sanjaykale

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=748984

---Test result---

Test Summary:
CheckPatch                    PASS      0.59 seconds
GitLint                       PASS      0.29 seconds
SubjectPrefix                 PASS      0.10 seconds
BuildKernel                   PASS      31.85 seconds
CheckAllWarning               PASS      34.59 seconds
CheckSparse                   PASS      39.11 seconds
CheckSmatch                   PASS      109.45 seconds
BuildKernel32                 PASS      30.46 seconds
TestRunnerSetup               PASS      437.95 seconds
TestRunner_l2cap-tester       PASS      16.53 seconds
TestRunner_iso-tester         PASS      20.16 seconds
TestRunner_bnep-tester        PASS      5.28 seconds
TestRunner_mgmt-tester        PASS      111.51 seconds
TestRunner_rfcomm-tester      PASS      8.48 seconds
TestRunner_sco-tester         PASS      7.91 seconds
TestRunner_ioctl-tester       PASS      9.16 seconds
TestRunner_mesh-tester        PASS      6.71 seconds
TestRunner_smp-tester         PASS      7.80 seconds
TestRunner_userchan-tester    PASS      5.61 seconds
IncrementalBuild              PASS      29.00 seconds



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] Bluetooth: btnxpuart: Fix compiler warnings
  2023-05-18 16:43 [PATCH v3] Bluetooth: btnxpuart: Fix compiler warnings Neeraj Sanjay Kale
  2023-05-18 17:31 ` [v3] " bluez.test.bot
@ 2023-05-18 18:40 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-05-18 18:40 UTC (permalink / raw)
  To: Neeraj Sanjay Kale
  Cc: marcel, johan.hedberg, luiz.dentz, ilpo.jarvinen, linux-kernel,
	linux-bluetooth, amitkumar.karwar, rohit.fule, sherry.sun

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Thu, 18 May 2023 22:13:47 +0530 you wrote:
> This fixes a compiler warning reported by kernel test robot.
> 
> Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Link: https://lore.kernel.org/oe-kbuild-all/202305161345.eClvTYQ9-lkp@intel.com/
> ---
> v3: Use __maybe_unused instead of CONFIG_OF. (Luiz Augusto von Dentz)
> 
> [...]

Here is the summary with links:
  - [v3] Bluetooth: btnxpuart: Fix compiler warnings
    https://git.kernel.org/bluetooth/bluetooth-next/c/78c8f6e2d7d7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-18 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-18 16:43 [PATCH v3] Bluetooth: btnxpuart: Fix compiler warnings Neeraj Sanjay Kale
2023-05-18 17:31 ` [v3] " bluez.test.bot
2023-05-18 18:40 ` [PATCH v3] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).