]> git.baikalelectronics.ru Git - kernel.git/commit
PNP: add printf attribute to log function
authorTom Rix <trix@redhat.com>
Mon, 21 Dec 2020 16:03:02 +0000 (08:03 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 Jan 2021 15:20:37 +0000 (16:20 +0100)
commit1bc6352c53b41ff96c346449231331510f535ddf
treee7cb38399295d29b833d2b387f0802bf7427de04
parent9fb686b91f85f6106279ccd602ad0555eb2734b1
PNP: add printf attribute to log function

Attributing the function allows the compiler to more thoroughly
check the use of the function with -Wformat and similar flags.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/interface.c