]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: zynqmp: initialize fract_tick
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 27 Jul 2022 10:00:18 +0000 (12:00 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 8 Aug 2022 18:35:41 +0000 (20:35 +0200)
commit3b460f72d97f2d67e1d57c102a8eed0fd88a94ff
tree903ddf73ef1f2787572fe739aa541ad6268beb53
parent5d0b5674ed965bb7537baa54ca0a471686de7ebb
rtc: zynqmp: initialize fract_tick

fract_tick is used uninitialized when fract_offset is 0

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20220727100018.3301470-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-zynqmp.c