diff options
author | Joe Perches <joe@perches.com> | 2010-05-24 14:33:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:07:05 -0700 |
commit | db0fd97c270f1e80321f7ae55234643ca0978c54 (patch) | |
tree | 1f825911c8c036e24b457873c74f8e9d16830775 /crypto/blowfish.c | |
parent | 2b2f68b5383ea107295d7f1483256866e2daa1e3 (diff) | |
download | op-kernel-dev-db0fd97c270f1e80321f7ae55234643ca0978c54.zip op-kernel-dev-db0fd97c270f1e80321f7ae55234643ca0978c54.tar.gz |
lib/hexdump.c: reduce stack variable size and cleanups
Reduce char linebuf[200] to the actual size required., which is 32 * 3 + 2
+ 32 + 1, ie: linebuf[131].
Change examples to use bool true not int 1.
Align multiline argument indentation to open parenthesis.
Use temporary for ptr[j] so trigraph fits on single line.
Convert printk ptr from %*p, (int)(2 * sizeof(void *)) to %p as %p uses
the same calculation for size.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/blowfish.c')
0 files changed, 0 insertions, 0 deletions