Re: [PATCH] x86/extable: hide use of negative offset from array start

2023-02-22 Thread Jan Beulich
On 22.02.2023 12:15, Andrew Cooper wrote: > On 22/02/2023 10:22 am, Jan Beulich wrote: >> In COVERAGE=y but DEBUG=n builds (observed by randconfig testing) gcc12 >> takes issue with the subtraction of 1 from __stop___pre_ex_table[], >> considering this an out of bounds access. Not being able to kno

Re: [PATCH] x86/extable: hide use of negative offset from array start

2023-02-22 Thread Andrew Cooper
On 22/02/2023 10:22 am, Jan Beulich wrote: > In COVERAGE=y but DEBUG=n builds (observed by randconfig testing) gcc12 > takes issue with the subtraction of 1 from __stop___pre_ex_table[], > considering this an out of bounds access. Not being able to know that > the symbol actually marks the end of a

[PATCH] x86/extable: hide use of negative offset from array start

2023-02-22 Thread Jan Beulich
In COVERAGE=y but DEBUG=n builds (observed by randconfig testing) gcc12 takes issue with the subtraction of 1 from __stop___pre_ex_table[], considering this an out of bounds access. Not being able to know that the symbol actually marks the end of an array, the compiler is kind of right with this di