[PATCH] drm/amdkfd: Fix missing break in switch statement

Gustavo A. R. Silva gustavo at embeddedor.com
Mon Jul 22 19:19:53 UTC 2019



On 7/22/19 2:10 PM, Alex Deucher wrote:
> On Sun, Jul 21, 2019 at 6:12 PM Gustavo A. R. Silva
> <gustavo at embeddedor.com> wrote:
>>
>> Add missing break statement in order to prevent the code from falling
>> through to case CHIP_NAVI10.
>>
>> This bug was found thanks to the ongoing efforts to enable
>> -Wimplicit-fallthrough.
>>
>> Fixes: 14328aa58ce5 ("drm/amdkfd: Add navi10 support to amdkfd. (v3)")
>> Cc: stable at vger.kernel.org
>> Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
> 
> Applied.  Thanks!
> 

By the way, Alex, I'm planning to add these fixes to my tree. I want
to send a pull-request to Linus for v5.3-rc2 this afternoon. We want
to have the -Wimplicit-fallthrough option globally enabled in v5.3,
and these are some of the last fall-through warnings remaining in
the kernel.

Can I have your Ack or Signed-off-by for all these drm patches?

Thanks!
--
Gustavo


More information about the amd-gfx mailing list