commit | 668f272e57e80ece987bed273096f8e3a707123c | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed May 19 14:10:03 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Jun 17 13:28:57 2010 -0700 |
tree | 8c75ccf8c86b082040feca43db00478548ef5a74 | |
parent | fa3b5d9ab0487f58b45d55a37070aa0d417f59d5 [diff] |
Staging: comedi: serial2002: Reduce stack usage on 'open' Reduce stack usage in serial_2002_open() by allocating dig_in_config, dig_out_config, chan_in_config, and chan_out_config temporary arrays using kcalloc() and freeing them when done with. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>