All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>
Subject: Re: [PATCH] lib/date: Make rtc_mktime and mktime64 Y2038-ready
Date: Thu, 5 May 2022 19:38:23 -0400	[thread overview]
Message-ID: <20220505233823.GZ3580959@bill-the-cat> (raw)
In-Reply-To: <8fff2115-dcfc-a1ea-579a-74d124811869@web.de>

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

On Sun, Apr 24, 2022 at 11:34:56AM +0200, Jan Kiszka wrote:

> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> We currently overflow due to wrong types used internally in rtc_mktime,
> on all platforms, and we return a too small type on 32-bit.
> 
> One consumer that directly benefits from this is mktime64. Many others
> may still store the result in a wrong type.
> 
> While at it, drop the redundant cast of mon in rtc_mktime (obsoleted by
> 714209832db1).
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      parent reply	other threads:[~2022-05-05 23:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-24  9:34 [PATCH] lib/date: Make rtc_mktime and mktime64 Y2038-ready Jan Kiszka
2022-05-05 23:38 ` Tom Rini
2022-05-05 23:38 ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220505233823.GZ3580959@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=jan.kiszka@web.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.