Re: [PATCH] PNP: add printf attribute to log function

2021-01-22 Thread Rafael J. Wysocki
On Mon, Dec 21, 2020 at 5:04 PM wrote: > > From: Tom Rix > > 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 > --- > drivers/pnp/interface.c | 1 + > 1 file changed, 1 insertion(+) > >

[PATCH] PNP: add printf attribute to log function

2020-12-21 Thread trix
From: Tom Rix 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 --- drivers/pnp/interface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c