]> 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)
commitb1f4213cfa2a21d07fc34519cb8c6c999f8784b1
treee7cb38399295d29b833d2b387f0802bf7427de04
parent19c329f6808995b142b3966301f217c831e7cf31
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