Skip to contentSkip to conversation

Bluetooth: Fix sparse warning with btmrvl driver

PATCH In review [email protected] 2 participants 2 messages Jul 2, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: Fix sparse warning with btmrvl driver

From: Johan Hedberg <[email protected]>

This patch fixes the following sparse warning caused by a missing declaration in the header file:

drivers/bluetooth/btmrvl_main.c:218:5: warning: symbol 'btmrvl_pscan_window_reporting' was not declared. Should it be static?

---
 drivers/bluetooth/btmrvl_drv.h | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/btmrvl_drv.h +1 -0
index a8a9d3380e59..caf684119a4e 100644
@@ -145,6 +145,7 @@ bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb);
 int btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb);
 
 int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd);
+int btmrvl_pscan_window_reporting(struct btmrvl_private *priv, u8 subcmd);
 int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv);
 int btmrvl_enable_ps(struct btmrvl_private *priv);
 int btmrvl_prepare_command(struct btmrvl_private *priv);
Signature · 1 line
1.9.3
maintainer
#1 lore raw

Hi Johan,

Quoted 9 lines

This patch fixes the following sparse warning caused by a missing declaration in the header file:

drivers/bluetooth/btmrvl_main.c:218:5: warning: symbol 'btmrvl_pscan_window_reporting' was not declared. Should it be static?

---
drivers/bluetooth/btmrvl_drv.h | 1 +

1 file changed, 1 insertion(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel