mbox series

[0/1] cdrom: patch for inclusion in 6.10

Message ID 20240507222520.1445-1-phil@philpotter.co.uk (mailing list archive)
Headers show
Series cdrom: patch for inclusion in 6.10 | expand

Message

Phillip Potter May 7, 2024, 10:25 p.m. UTC
Hi Jens,

Please apply the following patch to your for-6.10/block tree from
Justin Stitt, that changes a media change condition in a sensible
way to not require a subtraction anymore, thus no longer triggering
the re-enabled signed integer overflow sanitizer in Clang/UBSan.

Many thanks in advance.

Regards,
Phil

Justin Stitt (1):
  cdrom: rearrange last_media_change check to avoid unintentional
    overflow

 drivers/cdrom/cdrom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jens Axboe May 15, 2024, 7 p.m. UTC | #1
On Tue, 07 May 2024 23:25:19 +0100, Phillip Potter wrote:
> Please apply the following patch to your for-6.10/block tree from
> Justin Stitt, that changes a media change condition in a sensible
> way to not require a subtraction anymore, thus no longer triggering
> the re-enabled signed integer overflow sanitizer in Clang/UBSan.
> 
> Many thanks in advance.
> 
> [...]

Applied, thanks!

[1/1] cdrom: rearrange last_media_change check to avoid unintentional overflow
      commit: efb905aeb44b0e99c0e6b07865b1885ae0471ebf

Best regards,