[PATCH] efi: loader: fix year and month reported by GetTime

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 28 06:03:35 PDT 2026


On Tue, 25 Aug 2026 10:52:22 +0200, Ahmad Fatoum wrote:
> struct rtc_time follows the Linux convention: tm_year counts from 1900
> and tm_mon is zero based. EFI_TIME on the other hand carries the full
> year and a one based month.
> 
> efi_get_time_boottime() copied both fields over unchanged, so GetTime()
> reported year 126 and month 6 for July 2026.
> 
> [...]

Applied, thanks!

[1/1] efi: loader: fix year and month reported by GetTime
      https://git.pengutronix.de/cgit/barebox/commit/?id=963a8939e3f7 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list