]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use single_open() for inquiry cache within debugfs
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 2 Mar 2010 15:48:23 +0000 (15:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Mar 2010 09:04:38 +0000 (01:04 -0800)
commitdf0d63e8fd859b34f523313469c334b790cb2b07
tree1b316277198d7fe51aa74d44bb1e7ca0265e834d
parent2693a526e258cd91c014b60de39ee3199ab4a659
Bluetooth: Use single_open() for inquiry cache within debugfs

The inquiry cache information in debugfs should be using seq_file support
and not allocating memory on the stack for the string. Since the usage of
these information is really seldom, using single_open() for it is good
enough.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hci_sysfs.c