[PATCH] tests/intel/kms_pm_backlight: add include for POSIX basename
Kamil Konieczny
kamil.konieczny at linux.intel.com
Tue Jul 9 12:12:45 UTC 2024
Hi Yureka,
On 2024-07-07 at 12:54:11 +0200, Yureka wrote:
> fixes build on musl
For a patch to be accepted we need your Signed-off-by
with your full name, see some other patches, for example
[i-g-t,04/37] tests/kms_frontbuffer_tracking: Use igt_create_fb()
https://patchwork.freedesktop.org/patch/601865/?series=135670&rev=2
from a series: https://patchwork.freedesktop.org/series/135670/
So here it should be:
Signed-off-by: First_name Last_name <yuka at yuka.dev>
> ---
> tests/intel/kms_pm_backlight.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c
> index 8672afa7a..c4006b8be 100644
> --- a/tests/intel/kms_pm_backlight.c
> +++ b/tests/intel/kms_pm_backlight.c
> @@ -44,6 +44,7 @@
> #include <errno.h>
> #include <unistd.h>
> #include <time.h>
> +#include <libgen.h> /* for POSIX basename */
This should be before time.h
Please fix and resend with your s-o-b.
Regards,
Kamil
> #include "igt_device.h"
> #include "igt_device_scan.h"
>
> --
> 2.45.2
>
More information about the igt-dev
mailing list