Skip to content
Snippets Groups Projects
  1. Mar 21, 2025
  2. Mar 19, 2025
  3. Mar 16, 2025
  4. Mar 14, 2025
    • Alex Hung's avatar
      tests/amdgpu/amd_hotplug: add missing include file fcntl.h · a8513485
      Alex Hung authored and Kamil Konieczny's avatar Kamil Konieczny committed
      
      Add missing include file to fix cross-compilation errors:
      
      ../tests/amdgpu/amd_hotplug.c: In function is_system_s2idle:
      ../tests/amdgpu/amd_hotplug.c:110:7: error: implicit declaration of function open; did you mean popen? [-Werror=implicit-function-declaration]
        fd = open(MEM_SLEEP_PATH, O_RDONLY);
             ^~~~
             popen
      ../tests/amdgpu/amd_hotplug.c:110:7: warning: nested extern declaration of open [-Wnested-externs]
      ../tests/amdgpu/amd_hotplug.c:110:28: error: O_RDONLY undeclared (first use in this function); did you mean STA_RONLY?
        fd = open(MEM_SLEEP_PATH, O_RDONLY);
                                  ^~~~~~~~
                                  STA_RONLY
      
      Fixes: 6796e79a ("tests/amdgpu/amd_hotplug: Check the suspend state after resume")
      Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
      Reviewed-by: default avatarTom Chung <chiahsuan.chung@amd.com>
      a8513485
  5. Mar 13, 2025
  6. Mar 12, 2025
  7. Mar 11, 2025
  8. Mar 10, 2025
  9. Mar 07, 2025
  10. Mar 06, 2025
  11. Mar 05, 2025
  12. Mar 04, 2025
Loading