diff options
author | Lyude <lyude@redhat.com> | 2017-02-07 12:50:47 -0500 |
---|---|---|
committer | Lyude <lyude@redhat.com> | 2017-02-07 15:43:25 -0500 |
commit | bcd7ed6142a497c979862bc3c67fed52ef966c3d (patch) | |
tree | 285d665a236a1d35a0ba6cd0507aec3963ec63fa /lib/intel_chipset.c | |
parent | f63e070b469d96be2bf470eae63a16b4a9e9cc0d (diff) |
igt/core: Return condition result from igt_warn_on*()
This allows us to be a little more flexible with how we use
igt_warn_on() and igt_warn_on_f() by allowing us to write statements
like this:
if (igt_warn_on(scary_condition)) {
/* some error handling... */
}
Signed-off-by: Lyude <lyude@redhat.com>
Diffstat (limited to 'lib/intel_chipset.c')
0 files changed, 0 insertions, 0 deletions