]> 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)
commite3a5cb5bc58d782fa5a5b5faf7129ed207b664b8
tree026845b113d8a7fc76f4f867d1a36f07811fe3ca
parent9d24df116031bc11e2a64940366d7c0d43b60f15
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