summaryrefslogtreecommitdiff
path: root/scripts/bin2c.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-11 16:40:11 +0200
committerSimon Glass <sjg@chromium.org>2021-04-29 03:23:39 -0700
commit494a5e126b4de48091a161436839647246b29d29 (patch)
treeb288bb26a3fcd0c6b03456a52408197e79da2c1f /scripts/bin2c.c
parentff232a72969567cd0339d4f96fa0b1840bef500e (diff)
test: Use positive conditional in test_matches()
It is easier to read the positive conditional. While at it, convert hard coded length of "_test_" to strlen("_test_") which will be converted to a constant bu optimizing compiler. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions