Re: [PATCH] drm/scheduler: Fix variable name in function description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pushed through drm-misc-next.

Regards,
Luben

On 2023-03-27 11:02, Luben Tuikov wrote:
> Thanks for the fix. I'll push this via amd-staging-drm-next.
> 
> Reviewed-by: Luben Tuikov <luben.tuikov@xxxxxxx>
> 
> Regards,
> Luben
> 
> On 2023-03-25 09:15, Caio Novais wrote:
>> Compiling AMD GPU drivers displays two warnings:
>>
>> drivers/gpu/drm/scheduler/sched_main.c:738: warning: Function parameter or member 'file' not described in 'drm_sched_job_add_syncobj_dependency'
>> drivers/gpu/drm/scheduler/sched_main.c:738: warning: Excess function
>> parameter 'file_private' description in
>> 'drm_sched_job_add_syncobj_dependency'
>>
>> Get rid of them by renaming the variable name on the function description
>>
>> Signed-off-by: Caio Novais <caionovais@xxxxxx>
>> ---
>>  drivers/gpu/drm/scheduler/sched_main.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c
>> index 214364fccb71..7db586e6fce6 100644
>> --- a/drivers/gpu/drm/scheduler/sched_main.c
>> +++ b/drivers/gpu/drm/scheduler/sched_main.c
>> @@ -722,7 +722,7 @@ EXPORT_SYMBOL(drm_sched_job_add_dependency);
>>  /**
>>   * drm_sched_job_add_syncobj_dependency - adds a syncobj's fence as a job dependency
>>   * @job: scheduler job to add the dependencies to
>> - * @file_private: drm file private pointer
>> + * @file: drm file private pointer
>>   * @handle: syncobj handle to lookup
>>   * @point: timeline point
>>   *
> 




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux