John Romein <rom...@astron.nl> writes:

> getenv needs stdlib.h to be included.
>
> Bugzilla ID: 1133
>
> Fixes: 24c77594e08f ("gpu/cuda: map GPU memory with GDRCopy")
> Signed-off-by: John Romein <rom...@astron.nl>
> ---

Hi John,

Thanks so much for the contribution.  It looks like the patch got
corrupted by something.  Please check your mail client settings.  I'll
point out some of the specific characters here.  You may also need to
switch to using a gmail server or some other mail service to email the
patch.

-Aaron

>   drivers/gpu/cuda/gdrcopy.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/cuda/gdrcopy.c b/drivers/gpu/cuda/gdrcopy.c
> index 322a5dbeb2..f19ad396f1 100644
> --- a/drivers/gpu/cuda/gdrcopy.c
> +++ b/drivers/gpu/cuda/gdrcopy.c
> @@ -2,6 +2,8 @@
>    * Copyright (c) 2022 NVIDIA Corporation & Affiliates

   ^  This character looks incorrect
>    */

   ^ Same here
   
>
> +#include <stdlib.h>
> +
>   #include "common.h"

   ^ Same here

>   #ifdef DRIVERS_GPU_CUDA_GDRCOPY_H

   ^ Same here

Reply via email to