Re: [PATCH 02/15] riscv: cleanup do_trap_break

From: Paul Walmsley
Date: Wed Oct 23 2019 - 18:05:37 EST


On Thu, 17 Oct 2019, Christoph Hellwig wrote:

> If we always compile the get_break_insn_length inline function we can
> remove the ifdefs and let dead code elimination take care of the warn
> branch that is now unreadable because the report_bug stub always
> returns BUG_TRAP_TYPE_BUG.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Thanks, queued for v5.4-rc.


- Paul