On Thu, Mar 20, 2025 at 09:45:28AM +0100, Mathieu Dubois-Briand wrote: > On Tue Mar 18, 2025 at 5:39 PM CET, Andy Shevchenko wrote: > > On Tue, Mar 18, 2025 at 05:26:21PM +0100, Mathieu Dubois-Briand wrote: ... > > > default: > > > BUG(); > > > - goto exit; > > > + return ret; > > > > Hmm... BUG() implies unreachable, perhaps just a precursor patch to drop this > > goto completely? > > Ok, I will add a separate patch to remove the goto. I just browsed the code for the similar and there are handful that do this. At least one commit (from 2011) refers to GCC 4.3.3 that complains, but our minimum requirement AFAIR is 5.1 nowadays. In any case it's up to you. I am totally fine if you leave this as is. -- With Best Regards, Andy Shevchenko