This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push: new fd0ac1b8f drivertest/block:Add FAR to the pointer fd0ac1b8f is described below commit fd0ac1b8fba8a790cd3f4434536d4a539df1d886 Author: crafcat7 <chenr...@xiaomi.com> AuthorDate: Wed Feb 22 14:02:53 2023 +0800 drivertest/block:Add FAR to the pointer --- testing/drivertest/drivertest_block.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/drivertest/drivertest_block.c b/testing/drivertest/drivertest_block.c index 220e0c49a..790b813d0 100644 --- a/testing/drivertest/drivertest_block.c +++ b/testing/drivertest/drivertest_block.c @@ -170,7 +170,7 @@ static int setup(FAR void **state) FAR struct pre_build *pre_build; time_t t; - pre_build = (struct pre_build *)*state; + pre_build = (FAR struct pre_build *)*state; /* Allocate memory space and initialize */ @@ -202,7 +202,7 @@ static void blktest_stress(FAR void **state) char *output; uint32_t output_crc; - test_state = (struct test_state_s *)*state; + test_state = (FAR struct test_state_s *)*state; /* Create some random context */ @@ -250,7 +250,7 @@ static int teardown(FAR void **state) { FAR struct test_state_s *test_state; - test_state = (struct test_state_s *)*state; + test_state = (FAR struct test_state_s *)*state; close(test_state->fd); free(test_state);