diff options
| author | H Hartley Sweeten <[email protected]> | 2016-04-08 12:41:55 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:16:10 -0700 |
| commit | cc3ddba2c5ca09f477b072286d7d43493d347188 (patch) | |
| tree | 94ab9a3ee5eaf20093e9a43f1841c1c282ae4e0d /tools/perf/scripts/python/netdev-times.py | |
| parent | bface0f3233043bcd50a29f35496ff8ceefd5b90 (diff) | |
staging: comedi: das1800: change type of private data 'fifo_buf'
Fix the checkpatch.pl issue:
CHECK: Prefer kernel type 'u16' over 'uint16_t'
Change the type to 'unsigned short' as that is more typical in comedi
drivers.
Use sizeof(*p) instead of sizeof(type) when allocation the buffer.
Also fix the checkpatch.pl issue:
WARNING: line over 80 characters
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions