summaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-05-24 14:33:22 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 08:07:05 -0700
commitdb0fd97c270f1e80321f7ae55234643ca0978c54 (patch)
tree1f825911c8c036e24b457873c74f8e9d16830775 /lib/dma-debug.c
parent2b2f68b5383ea107295d7f1483256866e2daa1e3 (diff)
downloadblackbird-op-linux-db0fd97c270f1e80321f7ae55234643ca0978c54.tar.gz
blackbird-op-linux-db0fd97c270f1e80321f7ae55234643ca0978c54.zip
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 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud