Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1452005
| From | Alex Deucher <alexdeucher@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/8] drm/amdgpu: Fine-tuning for three function implementations |
| Date | 2016-07-28 18:20 +0200 |
| Message-ID | <rZWcq-ek-15@gated-at.bofh.it> (permalink) |
| References | (15 earlier) <mSsDN-4wa-65@gated-at.bofh.it> <mSsDN-4wa-33@gated-at.bofh.it> <pGgrL-7JT-5@gated-at.bofh.it> <rVyV3-4Wl-5@gated-at.bofh.it> <rZWcq-ek-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jul 18, 2016 at 3:41 AM, Christian König
<christian.koenig@amd.com> wrote:
> Am 16.07.2016 um 16:33 schrieb SF Markus Elfring:
>>
>> From: Markus Elfring <elfring@users.sourceforge.net>
>> Date: Sat, 16 Jul 2016 16:23:21 +0200
>>
>> Further update suggestions were taken into account after patches
>> were applied from static source code analysis.
>
>
> Small coding style nit pick on patch #7:
>>
>> - }
>> + } else
>> + temp_storage = NULL;
>
> When an "if" has "{" and "}" the else should also use them even when it is
> only one line.
>
> With that fixed the whole series is Reviewed-by: Christian König
> <christian.koenig@amd.com>, but as Walter Harms pointed out as well there
> are a couple of other things we could make more as well.
Applied the series except patch 2 was which already fixed by an earlier patch.
Thanks!
Alex
>
> Regards,
> Christian.
>
>>
>> Markus Elfring (8):
>> Delete an unnecessary check before
>> drm_gem_object_unreference_unlocked()
>> Delete unnecessary checks before the function call "kfree"
>> One function call less in amdgpu_cgs_acpi_eval_object() after error
>> detection
>> Delete a variable in amdgpu_cgs_acpi_eval_object()
>> Delete an unnecessary variable initialisation in
>> amdgpu_cgs_acpi_eval_object()
>> Change assignment for a variable in amdgpu_cgs_acpi_eval_object()
>> Change assignment for a buffer variable in phm_dispatch_table()
>> Delete an unnecessary variable initialisation in phm_dispatch_table()
>>
>> drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 28
>> ++++++++++------------
>> drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 +---
>> .../gpu/drm/amd/powerplay/hwmgr/functiontables.c | 12 ++++------
>> 3 files changed, 19 insertions(+), 25 deletions(-)
>>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 0/8] drm/amdgpu: Fine-tuning for three function implementations Alex Deucher <alexdeucher@gmail.com> - 2016-07-28 18:20 +0200
csiph-web