]> git.baikalelectronics.ru Git - kernel.git/commit
staging: speakup: Add __printf format/arg verification, fix fallout
authorJoe Perches <joe@perches.com>
Sat, 4 Mar 2017 16:13:11 +0000 (08:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:25:57 +0000 (14:25 +0100)
commit8567f1363dcce6cb2ca3f78d3edc2ae79d6fd705
tree026845b113d8a7fc76f4f867d1a36f07811fe3ca
parent08ea41c9c784d70ceef8f1e407fe601971e31952
staging: speakup: Add __printf format/arg verification, fix fallout

Using __printf allows the compiler to verify formats and arguments.
Use it and fix the single misuse found.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
drivers/staging/speakup/spk_priv.h