Skip to content

Conversation

@raiden00pl
Copy link
Member

Summary

  • testing/drivers/fftest/fftest.c: fix compilation error

    CC:  vfs/fs_rmdir.c fftest.c: In function ‘fftest_main’:
    fftest.c:104:7: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
     104 |   if (ioctl(fd, EVIOCGBIT, fffeatures) < 0)
    
  • testing/mm/cachetest/cachetest_main.c: fix compilation error

    cachetest_main.c: In function ‘cachetest_main’:
    cachetest_main.c:240:7: error: implicit declaration of function ‘up_flush_dcache’ [-Wimplicit-function-declaration]
      240 |       up_flush_dcache((uintptr_t)info.waddr, (uintptr_t)info.waddr +
    
  • testing/testsuites/kernel/socket/cases: fix compilation error

    kernel/socket/cases/net_socket_test_010.c: In function ‘ioctltestinternal’:
    kernel/socket/cases/net_socket_test_010.c:188:20: error: ‘siocgifname’ undeclared (first use in this function)
      188 |   ret = ioctl(sfd, siocgifname, &ifr);
    

Impact

fix compilation errors

Testing

local build

fix compilation error:

CC:  vfs/fs_rmdir.c fftest.c: In function ‘fftest_main’:
fftest.c:104:7: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
  104 |   if (ioctl(fd, EVIOCGBIT, fffeatures) < 0)

Signed-off-by: raiden00pl <[email protected]>
fix compilation error:

cachetest_main.c: In function ‘cachetest_main’:
cachetest_main.c:240:7: error: implicit declaration of function ‘up_flush_dcache’ [-Wimplicit-function-declaration]
  240 |       up_flush_dcache((uintptr_t)info.waddr, (uintptr_t)info.waddr +

Signed-off-by: raiden00pl <[email protected]>
fix compilation error:

kernel/socket/cases/net_socket_test_010.c: In function ‘ioctltestinternal’:
kernel/socket/cases/net_socket_test_010.c:188:20: error: ‘siocgifname’ undeclared (first use in this function)
  188 |   ret = ioctl(sfd, siocgifname, &ifr);

Signed-off-by: raiden00pl <[email protected]>
fix codespell error for cachetest_main.c

Signed-off-by: raiden00pl <[email protected]>
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @raiden00pl :-)

@xiaoxiang781216 xiaoxiang781216 merged commit 91a7580 into apache:master Nov 2, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants