OSDN Git Service

Staging: unisys: visorutil: Clean up sparse warnings in visorutil code
authorKen Cox <jkc@redhat.com>
Mon, 17 Mar 2014 15:37:11 +0000 (10:37 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:46:36 +0000 (14:46 -0700)
commita7710336596ecf49b3c1572dd40f4ecfefc6c9ab
tree25308a1b4a8eefc42552ccc86513460c028db4fa
parentbd5b9b32d2826a7bcd0b97e698f82e2060f422b9
Staging: unisys: visorutil: Clean up sparse warnings in visorutil code

Clean up code to get rid of sparse warnings.

Also fixed variable length arrays declared on the stack by removing
visor_hexDumpToBuffer() and using hex_dump_to_buffer() instead.

Signed-off-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/timskmodutils.h
drivers/staging/unisys/visorchannel/visorchannel_funcs.c
drivers/staging/unisys/visorutil/procobjecttree.c
drivers/staging/unisys/visorutil/visorkmodutils.c