tests: avoid shadowing local variables with common names in macros
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 11 Jan 2023 13:08:40 +0000 (14:08 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 18 Jan 2023 15:17:18 +0000 (16:17 +0100)
commit89cf36419f3e86d41bdffb744de3273b03b5b4e1
treeeb7f5fb4f4b9dbc7c47f2989d557871b0d1fe747
parent74e53e512ce6b860aba5840e78abe2a34906f475
tests: avoid shadowing local variables with common names in macros

The name 'ret' if very common for local variables so change it to _ret
in test helper macros to avoid potential shadowing.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
tests/gpiod-test-helpers.h