mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] bluetooth:btusb - Change 1 to true in bool type variable assignment.
@ 2015-05-25 18:23 Shailendra Verma
  2015-05-25 18:58 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Shailendra Verma @ 2015-05-25 18:23 UTC (permalink / raw)
  To: Marcel Holtmann, Gustavo Padovan, Johan Hedberg, linux-bluetooth
  Cc: linux-kernel, Shailendra Verma

The reset is a bool type variable.So assigning true to reset instead
of 1.

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
 drivers/bluetooth/btusb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 3c10d4d..0ce5c32 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -37,7 +37,7 @@
 static bool disable_scofix;
 static bool force_scofix;
 
-static bool reset = 1;
+static bool reset = true;
 
 static struct usb_driver btusb_driver;
 
-- 
1.7.9.5


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

* Re: [PATCH] bluetooth:btusb - Change 1 to true in bool type variable assignment.
  2015-05-25 18:23 [PATCH] bluetooth:btusb - Change 1 to true in bool type variable assignment Shailendra Verma
@ 2015-05-25 18:58 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2015-05-25 18:58 UTC (permalink / raw)
  To: Shailendra Verma
  Cc: Gustavo F. Padovan, Johan Hedberg, linux-bluetooth, linux-kernel

Hi Shailendra,

> The reset is a bool type variable.So assigning true to reset instead
> of 1.
> 
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
> ---
> drivers/bluetooth/btusb.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel


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

end of thread, other threads:[~2015-05-25 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 18:23 [PATCH] bluetooth:btusb - Change 1 to true in bool type variable assignment Shailendra Verma
2015-05-25 18:58 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®