]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/comedi/comedi_fops.c
Staging: comedi: Correct a few printf format codes
authorChase Southwood <chase.southwood@yahoo.com>
Wed, 12 Feb 2014 08:28:35 +0000 (02:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Feb 2014 17:32:17 +0000 (09:32 -0800)
commitecd56ff9d1873fb04846a5847d3c53837084fa69
treecdfcd3d5c21652b1fdad70e39de329c85d533f7c
parentf1fe476ecb35e5f9ef62b58016fa4f71e1233bbe
Staging: comedi: Correct a few printf format codes

My static checker found some slightly inaccurate format codes in printf
calls in comedi_fops.c and drivers/comedi_bond.c.  It may be slightly
pedantic to change them, but using the correctly corresponding format
codes is probably a good idea.  All but one were unsigned ints that were
formatted with %i, change these to %u, and one was an int formatted with
%u, we want to format this with %d.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/drivers/comedi_bond.c