diff options
| author | Chris Cesare <chris.cesare@gmail.com> | 2016-06-09 15:39:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-17 21:14:16 -0700 |
| commit | c9b0f2b63f47ec35ca5e6588df488bb7e51efb43 (patch) | |
| tree | bb62aa568a53f364acbb035ba3c20d0d02269617 /tools/perf/scripts/python | |
| parent | staging: comedi: serial2002: Fix bare unsigned styling issue (diff) | |
| download | linux-c9b0f2b63f47ec35ca5e6588df488bb7e51efb43.tar.gz linux-c9b0f2b63f47ec35ca5e6588df488bb7e51efb43.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
