commit | 68ef50f6cb39b78e0e3e5007d16d644c2f18acab | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Mar 07 17:31:23 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 17 13:55:53 2014 -0700 |
tree | 7a130a566366519864ff2208686852647cdb6cc8 | |
parent | a3065bc9b420dacd54d333a35701adea104842e8 [diff] |
staging: comedi: comedi_fc: tidy up cfc_bytes_per_scan() This function returns the total number of bytes for a full scan of an async command chanlist. The returned value is an unsigned int. Change all the local variables to unsigned int and use a local variable for the s->async->cmd.chanlist_len. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>