From: H Hartley Sweeten Date: Sat, 8 Mar 2014 00:31:23 +0000 (-0700) Subject: staging: comedi: comedi_fc: tidy up cfc_bytes_per_scan() X-Git-Tag: v3.15-rc1~139^2~299 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ef50f6cb39b78e0e3e5007d16d644c2f18acab;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed