diff options
| author | H Hartley Sweeten <[email protected]> | 2012-12-19 15:45:34 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-07 14:25:49 -0800 |
| commit | 71cf6d3ee9351d668e9374d4026bf3337540eb22 (patch) | |
| tree | cd54c890937090180f78a3f7575e78ca3d7114cb /tools/perf/scripts/python/bin | |
| parent | a52840a98bbb50a7ed881b6cc361957c58c2731d (diff) | |
staging: comedi: comedi_fops: use kzalloc in comedi_alloc_subdevice_minor()
The hardware_device member of comedi_file_info is not set in this
function. Use kzalloc to make sure this pointer does not contain
invalid data.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions