Skip to contentSkip to conversation

Small Bluetooth fix for 2.6.27-rc6

DISCUSSION Marcel Holtmann 2 participants 8 messages Sep 12, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Dave,

we discovered one tiny regression that was introduced with the default link policy change in 2.6.27-rc1. This small patch fixes it and I hope the commit message is detailed and clear enough to understand what went wrong.

I also got pretty much annoyed by the following compiler warning:

CC [M] net/bluetooth/af_bluetooth.o
net/bluetooth/af_bluetooth.c:60: warning: ‘bt_key_strings’ defined but not used net/bluetooth/af_bluetooth.c:71: warning: ‘bt_slock_key_strings’ defined but not used

So I finally fixed it (even if I didn't cause it), but I don't know what's your take on fixing compiler warnings in -rc phase. It can certainly wait for the next merge window.

Regards

Marcel

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

This will update the following files:

 net/bluetooth/hci_core.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

through these ChangeSets:

Marcel Holtmann (1):
[Bluetooth] Fix regression from using default link policy

maintainer
#1 lore raw

From: Marcel Holtmann <[email protected]>
Date: Fri, 12 Sep 2008 05:56:44 +0200

Quoted 3 lines

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

You did your work against Linus's tree, so I can't pull this, it will bring in tons of irrelevant stuff into net-2.6.

Please send me pull requests using net-2.6 as your base.

#2 lore raw

Hi Dave,

Quoted 8 lines
Quoted 3 lines

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

You did your work against Linus's tree, so I can't pull this, it will bring in tons of irrelevant stuff into net-2.6.

Please send me pull requests using net-2.6 as your base.

I re-based the tree on net-2.6 now. Please pull.

Regards

Marcel

maintainer
#3 lore raw

From: Marcel Holtmann <[email protected]>
Date: Fri, 12 Sep 2008 04:11:32 +0200

Quoted 10 lines
Quoted 8 lines
Quoted 3 lines

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

You did your work against Linus's tree, so I can't pull this, it will bring in tons of irrelevant stuff into net-2.6.

Please send me pull requests using net-2.6 as your base.

I re-based the tree on net-2.6 now. Please pull.

Pulled, thanks.

#4 lore raw

Hi Dave,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

You did your work against Linus's tree, so I can't pull this, it will bring in tons of irrelevant stuff into net-2.6.

Please send me pull requests using net-2.6 as your base.

I re-based the tree on net-2.6 now. Please pull.

Pulled, thanks.

I assume you want me to queue the compiler warning fix for the next merge window, right?

Regards

Marcel

maintainer
#5 lore raw

From: Marcel Holtmann <[email protected]>
Date: Fri, 12 Sep 2008 04:15:02 +0200

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

You did your work against Linus's tree, so I can't pull this, it will bring in tons of irrelevant stuff into net-2.6.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Please send me pull requests using net-2.6 as your base.

I re-based the tree on net-2.6 now. Please pull.

Pulled, thanks.

I assume you want me to queue the compiler warning fix for the next merge window, right?

Which one?

#6 lore raw

Hi Dave,

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 3 lines

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master

You did your work against Linus's tree, so I can't pull this, it will bring in tons of irrelevant stuff into net-2.6.

Please send me pull requests using net-2.6 as your base.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I re-based the tree on net-2.6 now. Please pull.

Pulled, thanks.

I assume you want me to queue the compiler warning fix for the next merge window, right?

Which one?

the one for this warning:

CC [M] net/bluetooth/af_bluetooth.o
net/bluetooth/af_bluetooth.c:60: warning: ‘bt_key_strings’ defined but not used net/bluetooth/af_bluetooth.c:71: warning: ‘bt_slock_key_strings’ defined but not used

It is not a new one, it just got ignored by everybody and now I got annoyed enough to fix it. I just don't know what's that take on compiler warning fixes after the merge window. Do we want them or not. I can queue this up for 2.6.28.

Regards

Marcel

maintainer
#7 lore raw

From: Marcel Holtmann <[email protected]>
Date: Fri, 12 Sep 2008 04:59:10 +0200

Quoted 10 lines

the one for this warning:

CC [M] net/bluetooth/af_bluetooth.o
net/bluetooth/af_bluetooth.c:60: warning: ‘bt_key_strings’ defined but not used net/bluetooth/af_bluetooth.c:71: warning: ‘bt_slock_key_strings’ defined but not used

It is not a new one, it just got ignored by everybody and now I got annoyed enough to fix it. I just don't know what's that take on compiler warning fixes after the merge window. Do we want them or not. I can queue this up for 2.6.28.

This is 2.6.28 material.