Re: [PATCH] x86/hpet: Replace sprintf() with scnprintf() in hpet_select_clockevents()

From: Habil Eren Türker

Date: Thu Nov 19 2026 - 18:29:10 EST


Hello Rick,
Thank you for your review.

I didn't actually see a compiler warning. I just assumed that sprintf()
might cause a truncation warning here, so I added that to the
commit message.

My main motivation was simply to remove the deprecated sprintf() usage as
it is considered unsafe.

I can prepare a v2 patch and correct the commit message.
Is that okay with you?

Regards,
Türker