]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfs
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 00:24:16 +0000 (17:24 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 07:45:19 +0000 (10:45 +0300)
commit8b94460bd9dc760584da2c219e26ce5a8b61a319
tree0a24ba3d546bf60ea51a022028f66747b0829996
parent45cae5126ec21875626f8aaa6a8496d9141dc4d6
Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfs

Make sure to use IS_ERR_OR_NULL for checking the existing of the root
debugfs dentry bt_debugfs.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c
net/bluetooth/rfcomm/core.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/sco.c