diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2012-10-15 23:43:29 +0200 |
|---|---|---|
| committer | TARKZiM <tom8476oo@gmail.com> | 2022-08-25 20:05:38 +0800 |
| commit | 672a8cb426b856074f5601b2f33ee74128211cef (patch) | |
| tree | b010809b904d253c543936fb5e0eedc47740e84e /net/lapb/lapb_timer.c | |
| parent | a4d90d5aad4fe7deb21ce5e728b815ef64d8f133 (diff) | |
random: fix debug format strings
Fix the following warnings in formatting debug output:
drivers/char/random.c: In function ‘xfer_secondary_pool’:
drivers/char/random.c:827: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘size_t’
drivers/char/random.c: In function ‘account’:
drivers/char/random.c:859: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’
drivers/char/random.c:881: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’
drivers/char/random.c: In function ‘random_read’:
drivers/char/random.c:1141: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘ssize_t’
drivers/char/random.c:1145: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘ssize_t’
drivers/char/random.c:1145: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long unsigned int’
by using '%zd' instead of '%d' to properly denote ssize_t/size_t conversion.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
