Bluetooth: add printf format attribute to hci_set_[fh]w_info()
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Fri, 29 Jul 2016 11:28:25 +0000 (13:28 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Sep 2016 16:34:26 +0000 (18:34 +0200)
commitf32e5053c9385e37ee6ac6542de83687f10b494f
tree0ac5c85919dd695f2a440afb75127fb6869e9f09
parent443c930ce2dee9de8dc424f54c4111b73e768813
Bluetooth: add printf format attribute to hci_set_[fh]w_info()

Commit 5177a83827cd ("Bluetooth: Add debugfs fields for hardware and
firmware info") introduced hci_set_hw_info() and hci_set_fw_info().
These functions use kvasprintf_const() but are not marked with a
__printf attribute.  Adding such an attribute helps detecting issues
related to printf-formatting at build time.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
This page took 0.025463 seconds and 5 git commands to generate.