Andrew Geissler | fc7e797 | 2023-09-11 08:24:07 -0400 | [diff] [blame^] | 1 | From 42cc39fdea21177e82b6cec138c06726242673f7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Srikar Josyula <srikar.josyula@arm.com> |
| 3 | Date: Tue, 25 Jul 2023 12:55:04 +0530 |
| 4 | Subject: [PATCH] Fix for mismatch in function prototype |
| 5 | |
| 6 | - Mismatch between function prototype and definition |
| 7 | causing build failure with GCC 13.1.1 |
| 8 | - Fixed the function prototype for val_get_exerciser_err_info |
| 9 | |
| 10 | Signed-off-by: Srikar Josyula <srikar.josyula@arm.com> |
| 11 | |
| 12 | Upstream-Status: Backport |
| 13 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
| 14 | |
| 15 | --- |
| 16 | val/include/sbsa_avs_exerciser.h | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/val/include/sbsa_avs_exerciser.h b/val/include/sbsa_avs_exerciser.h |
| 20 | index 4b2c62b089f5..7c0e3d0fb58f 100644 |
| 21 | --- a/val/include/sbsa_avs_exerciser.h |
| 22 | +++ b/val/include/sbsa_avs_exerciser.h |
| 23 | @@ -118,7 +118,7 @@ uint32_t val_exerciser_ops(EXERCISER_OPS ops, uint64_t param, uint32_t instance) |
| 24 | uint32_t val_exerciser_get_data(EXERCISER_DATA_TYPE type, exerciser_data_t *data, uint32_t instance); |
| 25 | uint32_t val_exerciser_execute_tests(uint32_t level); |
| 26 | uint32_t val_exerciser_get_bdf(uint32_t instance); |
| 27 | -uint32_t val_get_exerciser_err_info(uint32_t type); |
| 28 | +uint32_t val_get_exerciser_err_info(EXERCISER_ERROR_CODE type); |
| 29 | |
| 30 | uint32_t e001_entry(void); |
| 31 | uint32_t e002_entry(void); |