drivers: base: Use __printf markup to silence compiler
authorMathieu Malaterre <malat@debian.org>
Wed, 23 Jan 2019 19:42:00 +0000 (20:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jan 2019 18:28:40 +0000 (19:28 +0100)
commitfa548d79d87fd1ad2a2c4e26f829984a106c6ca5
tree60cbaa571446d92bd7beb1c47b9c9c4c2114011b
parent095ff29d2b882847f608cf7192361dedc22c0623
drivers: base: Use __printf markup to silence compiler

Silence warnings (triggered at W=1) by adding relevant __printf
attributes.

  drivers/base/cpu.c:432:2: warning: function '__cpu_device_create' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/cpu.c