diff options
author | Daniel Latypov <dlatypov@google.com> | 2022-01-26 00:00:10 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-01-31 21:55:33 +0300 |
commit | 064ff292aca500d6b911dca6abe1ece22620d475 (patch) | |
tree | d3c74374831a54fda8c9568ac3a2a784733ebbef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6419abb80e82c603bbec6d7f5af6c2f79fa5c4ae (diff) | |
download | linux-064ff292aca500d6b911dca6abe1ece22620d475.tar.xz |
kunit: consolidate KUNIT_INIT_BINARY_ASSERT_STRUCT macros
We currently have 2 other versions of KUNIT_INIT_BINARY_ASSERT_STRUCT.
The only differences are that
* the format funcition they pass is different
* the types of left_val/right_val should be different (integral,
pointer, string).
The latter doesn't actually matter since these macros are just plumbing
them along to KUNIT_ASSERTION where they will get type checked.
So combine them all into a single KUNIT_INIT_BINARY_ASSERT_STRUCT that
now also takes the format function as a parameter.
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions