diff options
| author | Andriy Tryshnivskyy <[email protected]> | 2021-11-05 12:05:00 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-11-27 16:33:45 +0000 |
| commit | ee8ec048e091bfe36cc463e7a30eefbe5fef3e75 (patch) | |
| tree | 10cf23f596b5670c0379c294851b1dd2cde5d41a /tools/perf/scripts/python/libxed.py | |
| parent | ffc7c5172a6d1f7ec468066a7172ce65baf1e3e1 (diff) | |
iio: test: Add check against NULL for buffer in tests.
Add KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf) for every test.
Also use ARRAY_SIZE(values) where it is possible.
Signed-off-by: Andriy Tryshnivskyy <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions