All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
@ 2012-01-22 19:46 ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2012-01-22 19:46 UTC (permalink / raw)
  To: netdev; +Cc: linux-wireless, linux-bluetooth

DQpGaXhlczoNCg0KbmV0L2JsdWV0b290aC9oY2lfY29yZS5jOiBJbiBmdW5jdGlvbiChX19jaGVj
a19lbmFibGVfaHOiOg0KbmV0L2JsdWV0b290aC9oY2lfY29yZS5jOjI1ODc6MTogd2FybmluZzog
cmV0dXJuIGZyb20gaW5jb21wYXRpYmxlIHBvaW50ZXIgdHlwZSBbZW5hYmxlZCBieSBkZWZhdWx0
XQ0KDQpTaWduZWQtb2ZmLWJ5OiBEYXZpZCBTLiBNaWxsZXIgPGRhdmVtQGRhdmVtbG9mdC5uZXQ+
DQotLS0NCg0KSSBub3RpY2VkIHRoaXMgd2hpbGUgdmFsaWRhdGluZyB0aGUgYnVpbGQgdG9kYXks
IGNvbW1pdHRlZCB0byAnbmV0Jy4NCg0KIGluY2x1ZGUvbmV0L2JsdWV0b290aC9oY2kuaCB8ICAg
IDIgKy0NCiBuZXQvYmx1ZXRvb3RoL2hjaV9jb3JlLmMgICAgfCAgICAyICstDQogMiBmaWxlcyBj
aGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9p
bmNsdWRlL25ldC9ibHVldG9vdGgvaGNpLmggYi9pbmNsdWRlL25ldC9ibHVldG9vdGgvaGNpLmgN
CmluZGV4IDViMmZlZDUuLjAwNTk2ZTggMTAwNjQ0DQotLS0gYS9pbmNsdWRlL25ldC9ibHVldG9v
dGgvaGNpLmgNCisrKyBiL2luY2x1ZGUvbmV0L2JsdWV0b290aC9oY2kuaA0KQEAgLTEzODgsNiAr
MTM4OCw2IEBAIHN0cnVjdCBoY2lfaW5xdWlyeV9yZXEgew0KIH07DQogI2RlZmluZSBJUkVRX0NB
Q0hFX0ZMVVNIIDB4MDAwMQ0KIA0KLWV4dGVybiBpbnQgZW5hYmxlX2hzOw0KK2V4dGVybiBib29s
IGVuYWJsZV9oczsNCiANCiAjZW5kaWYgLyogX19IQ0lfSCAqLw0KZGlmZiAtLWdpdCBhL25ldC9i
bHVldG9vdGgvaGNpX2NvcmUuYyBiL25ldC9ibHVldG9vdGgvaGNpX2NvcmUuYw0KaW5kZXggODQ1
ZGEzZS4uOWRlOTM3MSAxMDA2NDQNCi0tLSBhL25ldC9ibHVldG9vdGgvaGNpX2NvcmUuYw0KKysr
IGIvbmV0L2JsdWV0b290aC9oY2lfY29yZS5jDQpAQCAtNTUsNyArNTUsNyBAQA0KIA0KICNkZWZp
bmUgQVVUT19PRkZfVElNRU9VVCAyMDAwDQogDQotaW50IGVuYWJsZV9oczsNCitib29sIGVuYWJs
ZV9oczsNCiANCiBzdGF0aWMgdm9pZCBoY2lfcnhfd29yayhzdHJ1Y3Qgd29ya19zdHJ1Y3QgKndv
cmspOw0KIHN0YXRpYyB2b2lkIGhjaV9jbWRfd29yayhzdHJ1Y3Qgd29ya19zdHJ1Y3QgKndvcmsp
Ow0KLS0gDQoxLjcuNy41DQoNCg==

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

* [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
@ 2012-01-22 19:46 ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2012-01-22 19:46 UTC (permalink / raw)
  To: netdev-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA


Fixes:

net/bluetooth/hci_core.c: In function ‘__check_enable_hs’:
net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default]

Signed-off-by: David S. Miller <davem@davemloft.net>
---

I noticed this while validating the build today, committed to 'net'.

 include/net/bluetooth/hci.h |    2 +-
 net/bluetooth/hci_core.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 5b2fed5..00596e8 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1388,6 +1388,6 @@ struct hci_inquiry_req {
 };
 #define IREQ_CACHE_FLUSH 0x0001
 
-extern int enable_hs;
+extern bool enable_hs;
 
 #endif /* __HCI_H */
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 845da3e..9de9371 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -55,7 +55,7 @@
 
 #define AUTO_OFF_TIMEOUT 2000
 
-int enable_hs;
+bool enable_hs;
 
 static void hci_rx_work(struct work_struct *work);
 static void hci_cmd_work(struct work_struct *work);
-- 
1.7.7.5


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

* Re: [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
  2012-01-22 19:46 ` David Miller
  (?)
@ 2012-01-23  1:56 ` Marcel Holtmann
  2012-01-23  4:39     ` David Miller
  2012-01-23 11:20     ` Johan Hedberg
  -1 siblings, 2 replies; 7+ messages in thread
From: Marcel Holtmann @ 2012-01-23  1:56 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-wireless, linux-bluetooth

Hi Dave,

> net/bluetooth/hci_core.c: In function ‘__check_enable_hs’:
> net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default]
> 
> Signed-off-by: David S. Miller <davem@davemloft.net>
> ---
> 
> I noticed this while validating the build today, committed to 'net'.

and from your subject, I assume you rightfully just applied that patch
to your tree.

I remember that I acked such a patch, but it seems it never made it
anywhere in the end :(

Regards

Marcel



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

* Re: [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
  2012-01-23  1:56 ` Marcel Holtmann
@ 2012-01-23  4:39     ` David Miller
  2012-01-23 11:20     ` Johan Hedberg
  1 sibling, 0 replies; 7+ messages in thread
From: David Miller @ 2012-01-23  4:39 UTC (permalink / raw)
  To: marcel; +Cc: netdev, linux-wireless, linux-bluetooth

RnJvbTogTWFyY2VsIEhvbHRtYW5uIDxtYXJjZWxAaG9sdG1hbm4ub3JnPg0KRGF0ZTogTW9uLCAy
MyBKYW4gMjAxMiAwMjo1NjoyMyArMDEwMA0KDQo+IEhpIERhdmUsDQo+IA0KPj4gbmV0L2JsdWV0
b290aC9oY2lfY29yZS5jOiBJbiBmdW5jdGlvbiChX19jaGVja19lbmFibGVfaHOiOg0KPj4gbmV0
L2JsdWV0b290aC9oY2lfY29yZS5jOjI1ODc6MTogd2FybmluZzogcmV0dXJuIGZyb20gaW5jb21w
YXRpYmxlIHBvaW50ZXIgdHlwZSBbZW5hYmxlZCBieSBkZWZhdWx0XQ0KPj4gDQo+PiBTaWduZWQt
b2ZmLWJ5OiBEYXZpZCBTLiBNaWxsZXIgPGRhdmVtQGRhdmVtbG9mdC5uZXQ+DQo+PiAtLS0NCj4+
IA0KPj4gSSBub3RpY2VkIHRoaXMgd2hpbGUgdmFsaWRhdGluZyB0aGUgYnVpbGQgdG9kYXksIGNv
bW1pdHRlZCB0byAnbmV0Jy4NCj4gDQo+IGFuZCBmcm9tIHlvdXIgc3ViamVjdCwgSSBhc3N1bWUg
eW91IHJpZ2h0ZnVsbHkganVzdCBhcHBsaWVkIHRoYXQgcGF0Y2gNCj4gdG8geW91ciB0cmVlLg0K
DQpSaWdodC4NCg==

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

* Re: [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
@ 2012-01-23  4:39     ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2012-01-23  4:39 UTC (permalink / raw)
  To: marcel-kz+m5ild9QBg9hUCZPvPmw
  Cc: netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA

From: Marcel Holtmann <marcel@holtmann.org>
Date: Mon, 23 Jan 2012 02:56:23 +0100

> Hi Dave,
> 
>> net/bluetooth/hci_core.c: In function ‘__check_enable_hs’:
>> net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default]
>> 
>> Signed-off-by: David S. Miller <davem@davemloft.net>
>> ---
>> 
>> I noticed this while validating the build today, committed to 'net'.
> 
> and from your subject, I assume you rightfully just applied that patch
> to your tree.

Right.

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

* Re: [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
  2012-01-23  1:56 ` Marcel Holtmann
@ 2012-01-23 11:20     ` Johan Hedberg
  2012-01-23 11:20     ` Johan Hedberg
  1 sibling, 0 replies; 7+ messages in thread
From: Johan Hedberg @ 2012-01-23 11:20 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: David Miller, netdev, linux-wireless, linux-bluetooth

Hi Marcel,

On Mon, Jan 23, 2012, Marcel Holtmann wrote:
> Hi Dave,
> 
> > net/bluetooth/hci_core.c: In function ‘__check_enable_hs’:
> > net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default]
> > 
> > Signed-off-by: David S. Miller <davem@davemloft.net>
> > ---
> > 
> > I noticed this while validating the build today, committed to 'net'.
> 
> and from your subject, I assume you rightfully just applied that patch
> to your tree.
> 
> I remember that I acked such a patch, but it seems it never made it
> anywhere in the end :(

It's over here:

http://git.kernel.org/?p=linux/kernel/git/jh/bluetooth-next.git;a=commitdiff;h=174b9000541fdffbdc53cf9464efb1c8a1d777db

Johan

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

* Re: [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool.
@ 2012-01-23 11:20     ` Johan Hedberg
  0 siblings, 0 replies; 7+ messages in thread
From: Johan Hedberg @ 2012-01-23 11:20 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: David Miller, netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA

Hi Marcel,

On Mon, Jan 23, 2012, Marcel Holtmann wrote:
> Hi Dave,
> 
> > net/bluetooth/hci_core.c: In function ‘__check_enable_hs’:
> > net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default]
> > 
> > Signed-off-by: David S. Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
> > ---
> > 
> > I noticed this while validating the build today, committed to 'net'.
> 
> and from your subject, I assume you rightfully just applied that patch
> to your tree.
> 
> I remember that I acked such a patch, but it seems it never made it
> anywhere in the end :(

It's over here:

http://git.kernel.org/?p=linux/kernel/git/jh/bluetooth-next.git;a=commitdiff;h=174b9000541fdffbdc53cf9464efb1c8a1d777db

Johan

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

end of thread, other threads:[~2012-01-23 11:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-22 19:46 [PATCH COMMITTED] bluetooth: hci: Fix type of "enable_hs" to bool David Miller
2012-01-22 19:46 ` David Miller
2012-01-23  1:56 ` Marcel Holtmann
2012-01-23  4:39   ` David Miller
2012-01-23  4:39     ` David Miller
2012-01-23 11:20   ` Johan Hedberg
2012-01-23 11:20     ` Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.