[PATCH] gpu/cuda: fix getenv related build error
Levend Sayar
levendsayar at gmail.com
Fri Oct 6 21:45:19 CEST 2023
My pleasure.
Thanks for ACKing Elena.
Thanks for applying David.
Best,
Levend
> On 6 Oct 2023, at 13:07, David Marchand <david.marchand at redhat.com> wrote:
>
> On Thu, Aug 3, 2023 at 6:25 PM Levend Sayar <levendsayar at gmail.com> wrote:
>>
>> If gdrapi.h is available, meson sets DRIVERS_GPU_CUDA_GDRCOPY_H as 1.
>> This causes gdrcopy.c build to give an error;
>> because compiler can not find signature of getenv.
>> stdlib.h is included for the definition of getenv function.
>>
>> Fixes: ca12f5e8a7db ("gpu/cuda: mark unused GDRCopy functions parameters")
>>
>> Signed-off-by: Levend Sayar <levendsayar at gmail.com>
>
> Applied, thanks Levend.
>
>
> --
> David Marchand
>
More information about the dev
mailing list