linux_dsm_epyc7002/drivers/bluetooth
David Herrmann 0dea0141a9 Bluetooth: vhci: Ignore return code of nonseekable_open()
The comment in ./fs/open.c clearly states that nonseekable_open() will
never fail. Therefore, we can safely ignore the return code. This is the
recommended way to deal with nonseekable_open().
Our current code looks like nonseekable_open() is checked for the return
code. However, if we check the return code, we must also kfree() our
private data if the open fails. To avoid this overhead and to avoid
confusion, we simply drop the return code and return 0.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-05-09 00:41:36 -03:00
..
ath3k.c Bluetooth: Add support for AR3012 [0cf3:e004] 2012-04-19 11:14:06 +02:00
bcm203x.c USB: convert drivers/bluetooth/* to use module_usb_driver() 2011-11-18 09:47:34 -08:00
bfusb.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
bluecard_cs.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
bpa10x.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
bt3c_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
btmrvl_debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
btmrvl_drv.h Bluetooth: Use __packed annotation for drivers 2010-07-21 10:39:13 -07:00
btmrvl_main.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
btmrvl_sdio.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2011-12-09 14:07:12 -05:00
btmrvl_sdio.h Bluetooth: btmrvl: support Marvell Bluetooth device SD8787 2011-04-13 12:20:05 -03:00
btsdio.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
btuart_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
btusb.c Add Foxconn / Hon Hai IDs for btusb module 2012-04-24 11:38:41 -03:00
btwilink.c Bluetooth: Remove hci_dev->driver_data 2012-02-13 17:01:37 +02:00
dtl1_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hci_ath.c Bluetooth: hci-uart-ath: Use GFP_ATOMIC in open() 2012-02-13 17:01:22 +02:00
hci_bcsp.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git 2012-02-16 14:25:34 +02:00
hci_h4.c Bluetooth: hci-uart-h4: Use GFP_ATOMIC in open() 2012-02-13 17:01:22 +02:00
hci_ldisc.c Bluetooth: Remove redundant hdev->parent field 2012-05-09 00:41:30 -03:00
hci_ll.c Bluetooth: hci-uart-ll: Use GFP_ATOMIC in open() 2012-02-13 17:01:22 +02:00
hci_uart.h Bluetooth: Add support for creating HCI UART based AMP controllers 2012-02-24 20:15:34 +02:00
hci_vhci.c Bluetooth: vhci: Ignore return code of nonseekable_open() 2012-05-09 00:41:36 -03:00
Kconfig Bluetooth: btmrvl: support Marvell Bluetooth device SD8797 2011-11-21 13:52:31 -02:00
Makefile Bluetooth: btwilink driver 2011-02-23 14:39:10 -08:00