On Fri, 20 May 2022 10:25:00 +0200, Miquel Raynal wrote: > The calculation in ->set_offset() handles both negative and positive > offsets. The 'steps' variable will be checked to be in a specific [-x; > +x] range, which means it must be a signed integer rather than > unsigned. > > This also fixes the following smatch warning: > > [...] Applied, thanks! [1/1] rtc: rzn1: Fix a variable type commit: 3f3489248927a53fcfec571ff603163f6b676a46 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com