Re: [PATCH 1/1] Bluetooth: add printf format attribute to hci_set_[fh]w_info()
From: Johan Hedberg
Date: Mon Aug 15 2016 - 04:31:33 EST
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 <nicolas.iooss_linux@xxxxxxx>
> ---
> include/net/bluetooth/hci_core.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to bluetooth-next. Thanks.
Johan