Thread (3 messages) 3 messages, 2 authors, 2016-08-15

Re: [PATCH 1/1] Bluetooth: add printf format attribute to hci_set_[fh]w_info()

From: Johan Hedberg <hidden>
Date: 2016-08-15 08:31:28
Also in: linux-bluetooth, lkml

Hi Nicolas,

On Fri, Jul 29, 2016, Nicolas Iooss wrote:
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 <redacted>
---
 include/net/bluetooth/hci_core.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to bluetooth-next. Thanks.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help