diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-03-22 21:10:45 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-28 17:30:36 +0300 |
| commit | f229594a327720c0761e7307a5472aea780268c3 (patch) | |
| tree | f9bdb4f7f13edb694fd2c8b1dcf584305ddd9569 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 2363cbf073225537016aceb6bf122bbee6a0caa0 (diff) | |
| download | linux-f229594a327720c0761e7307a5472aea780268c3.tar.xz | |
staging: comedi: ni_660x: allocate counters early in (*auto_attach)
The ni_gpct_device_construct() could fail allocating the memory for
device and its counters. For aesthetics, call the function before
initializing the subdevices.
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
