[PATCH] riscv: fix KUnit test_kprobes crash when building with Clang

Paul Walmsley pjw at kernel.org
Fri Nov 21 17:10:23 PST 2025


On Wed, 19 Nov 2025, Jiakai Xu wrote:

> > Looks like you're using a mail client that sends HTML in what should be a 
> > plain-text E-mail; please fix that.
> 
> I apologize for that oversight. 
> I will make sure to use plain-text emails going forward.

Looks like there's still a problem (the ">"s above).

> > Not all of it, but some edited summary is appropriate.  I've queued the 
> > following revision for v6.18-rc fixes, under the theory that it would be 
> > good to get the test working for Clang users while the LLVM folks 
> > investigate.  Please let us know ASAP if you think anything in it should 
> > be changed.  I plan to send a PR out later this week.
> 
> Thank you for your review of the patch and for the time and effort
> you spent on it. I fully agree with the modifications you made to the patch
> description.

Looks like some of the LLVM folks have responded to 
https://github.com/llvm/llvm-project/issues/168308 with some suggestions.  
Could you implement those and test it and update the patch?  If that can 
be done by early next week, then we should hopefully be able to get it in 
before v6.18 is tagged.

thanks,

- Paul 



More information about the linux-riscv mailing list