diff options
| author | 2010-05-07 10:59:06 +0200 | |
|---|---|---|
| committer | 2010-05-07 14:16:09 +0200 | |
| commit | ccf31c10f125ab5233c8517f91d4b3bd0bd60936 (patch) | |
| tree | 88bc1107c31a8a325703ed40ffdba4e3af9754b8 /tools/perf/scripts/python/syscall-counts.py | |
| parent | logfs: remove unused variable (diff) | |
| download | linux-dev-ccf31c10f125ab5233c8517f91d4b3bd0bd60936.tar.xz linux-dev-ccf31c10f125ab5233c8517f91d4b3bd0bd60936.zip | |
logfs: handle errors from get_mtd_device()
The get_mtd_device() function returns error pointers on failure and if we
don't handle it, it leads to a crash.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
