Bluetooth: fix coding style issue in hci_vhci.c This patch affects hci_vhci.c it fixes some warnings detected by the checkpath.pl tool Signed-off-by: Tiago Henriques <[email protected]>
PATCH 1/1 Bluetooth: fix coding style issue in hci_vhci.c This patch affects hci_vhci.c it fixes some warnings detected by the checkpath.pl tool Signed-off-by: Tiago Henriques <[email protected]>
From: root <root@balganUbuntuVM.(none)>
--- drivers/bluetooth/hci_vhci.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
drivers/bluetooth/hci_vhci.c +2 -5
@@ -264,12 +264,9 @@ static int vhci_release(struct inode *inode, struct file *file)struct vhci_data *data = file->private_data;struct hci_dev *hdev = data->hdev; -if (hci_unregister_dev (hdev) <0 ) { +if (hci_unregister_dev (hdev) <0 )BT_ERR ("Can't unregister HCI device %s" , hdev->name); - } -hci_free_dev (hdev); - file->private_data =NULL ;return 0 ;
@@ -284,7 +281,7 @@ static const struct file_operations vhci_fops = { .release = vhci_release, }; -static struct miscdevice vhci_miscdev= { +static struct miscdevice vhci_miscdev = { .name ="vhci" , .fops = &vhci_fops, .minor =MISC_DYNAMIC_MINOR ,
Signature · 1 line
1.6.3.3
Your Subject line is a bit messed up :)
You need to put extra lines in your git commit so that git-send-email doesn't barf on it.
Quoted 1 line · On Sun, Mar 07, 2010 at 04:03:51AM +0000, [email protected] wrote:
From: root <root@balganUbuntuVM.(none)>
And this is incorrect.
thanks,
greg k-h
Marcel Holtmann
maintainerHi Tiago,
Quoted 9 lines
Your Subject line is a bit messed up :)
You need to put extra lines in your git commit so that git-send-email doesn't barf on it.
Quoted 1 line · On Sun, Mar 07, 2010 at 04:03:51AM +0000, [email protected] wrote:
From: root <root@balganUbuntuVM.(none)>
And this is incorrect.
and this goes only to [email protected]. I really have no idea why anybody else is on CC here. It is pure Bluetooth cleanup patch.
Regards
Marcel
Quoted 7 lines · Marcel Holtmann
Hi Tiago,
Quoted 5 lines
Your Subject line is a bit messed up :)
You need to put extra lines in your git commit so that git-send-email doesn't barf on it.
Quoted 7 lines
Quoted 4 lines · On Sun, Mar 07, 2010 at 04:03:51AM +0000, [email protected] wrote:
Quoted 1 line
From: root <root@balganUbuntuVM.(none)>
And this is incorrect.
and this goes only to [email protected]. I really have no idea why anybody else is on CC here. It is pure Bluetooth cleanup patch.
scripts/get_maintainer.pl lists all of these, that is why.
thanks,
greg k-h