]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use NULL instead of integer for mgmt_device_connected param
authorSzymon Janc <szymon@janc.net.pl>
Sun, 12 Feb 2012 12:55:35 +0000 (13:55 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 29 Feb 2012 15:48:31 +0000 (17:48 +0200)
commitd4c42c5d9208606c2c4d395aad1cfb7e773d19c8
tree2f227289ab4ef0dafa76eb690b0bc39c767807f8
parent7619db6bb5f7cdc4fdf1fe92135769f12c1e799a
Bluetooth: Use NULL instead of integer for mgmt_device_connected param

Last param of mgmt_device_connected is of pointer type, so use NULL
instead of 0 for it. This fix following sparse warning:

CHECK   net/bluetooth/hci_event.c
net/bluetooth/hci_event.c:3262:74: warning: Using plain integer as NULL pointer

Signed-off-by: Szymon Janc <szymon@janc.net.pl>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c