This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: cec-compliance: use warn() in warn_once() Author: Philipp Zabel <p.za...@pengutronix.de> Date: Tue Apr 9 16:49:57 2019 +0200 Use the warn() macro in warn_once() instead of duplicating its contents. Signed-off-by: Philipp Zabel <p.za...@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> utils/cec-compliance/cec-compliance.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f20d813c5cbbab9e180e8c9b374895cba5dbd40d diff --git a/utils/cec-compliance/cec-compliance.h b/utils/cec-compliance/cec-compliance.h index 0a890311665e..2ebf2d5d9027 100644 --- a/utils/cec-compliance/cec-compliance.h +++ b/utils/cec-compliance/cec-compliance.h @@ -230,12 +230,7 @@ struct remote_subtest { \ if (!show) { \ show = true; \ - warnings++; \ - if (show_warnings) \ - printf("\t\twarn: %s(%d): " fmt, \ - __FILE__, __LINE__, ##args); \ - if (exit_on_warn) \ - exit(1); \ + warn(fmt, ##args); \ } \ } while (0) _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits