On Fri, 09 Aug 2024 21:26:31 +0530, Abhishek Tamboli wrote: > Replace 'year / 100' with a direct comparison 'year >= 100' > in m48t59_rtc_set_time() function. Improve the code clarity > and eliminate division overhead. > > Fix the following smatch warning: > drivers/rtc/rtc-m48t59.c:135 m48t59_rtc_set_time() warn: > replace divide condition 'year / 100' with 'year >= 100' > > [...] Applied, thanks! [1/1] rtc: m48t59: Remove division condition with direct comparison https://git.kernel.org/abelloni/c/60a06efc56d7 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com