commit | c9b0f2b63f47ec35ca5e6588df488bb7e51efb43 | [log] [tgz] |
---|---|---|
author | Chris Cesare <chris.cesare@gmail.com> | Thu Jun 09 15:39:03 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 17 21:14:16 2016 -0700 |
tree | bb62aa568a53f364acbb035ba3c20d0d02269617 | |
parent | 2e3d417c02ceadd7feea0b34b37a36a1ffda96f1 [diff] |
staging: comedi: serial2002: Fix unnecessary cast styling issue checkpatch.pl warns that a cast of 1 to (long long) is unnecessary. Remove the cast and also add code to check and make sure that maxdata_list[chan] is not shifted too far, as suggested by Ian Abbott. Signed-off-by Chris Cesare <chris.cesare@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>