Re:Re: [PATCH] drm/amdgpu: Return more error codes in amdgpu_connector_set_property()

From: èåå
Date: Sun Apr 19 2020 - 21:05:16 EST




åääïMarkus Elfring <Markus.Elfring@xxxxxx>
åéææï2020-04-19 17:34:47
æääïBernard Zhao <bernard@xxxxxxxx>,amd-gfx@xxxxxxxxxxxxxxxxxxxxx,dri-devel@xxxxxxxxxxxxxxxxxxxxx,Alex Deucher <alexander.deucher@xxxxxxx>,"Christian KÃnig" <christian.koenig@xxxxxxx>,Chunming Zhou <David1.Zhou@xxxxxxx>
æéäïAndrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxxxx>,Daniel Vetter <daniel@xxxxxxxx>,David Airlie <airlied@xxxxxxxx>,Dhinakaran Pandiyan <dhinakaran.pandiyan@xxxxxxxxx>,"Josà Roberto de Souza" <jose.souza@xxxxxxxxx>,Lyude Paul <lyude@xxxxxxxxxx>,Neil Armstrong <narmstrong@xxxxxxxxxxxx>,Sam Ravnborg <sam@xxxxxxxxxxxx>,linux-kernel@xxxxxxxxxxxxxxx,opensource.kernel@xxxxxxxx
äéïRe: [PATCH] drm/amdgpu: Return more error codes in amdgpu_connector_set_property()>> The "if(!encoder)" branch return the same value 0 of the success
>> branch, maybe return -EINVAL is more better.
>
>I suggest to improve the commit message.

Sure.

>
>* Would you like to adjust the patch subject?
>
>* How do you think about to add the tag âFixesâ
> because of adjustments for the exception handling?

This is a good idea, the code will be more in line with the Linux specifications.
I will adjust this patch commit message and modify the code. I will submit it again.

>
>Regards,
>Markus