lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100903.214438.232976322.anemo@mba.ocn.ne.jp>
Date:	Fri, 03 Sep 2010 21:44:38 +0900 (JST)
From:	Atsushi Nemoto <anemo@....ocn.ne.jp>
To:	mcuos.com@...il.com
Cc:	geert@...ux-m68k.org, akpm@...ux-foundation.org,
	a.zummo@...ertech.it, linux-kernel@...r.kernel.org
Subject: Re: rtc/m41t80: use rtc_valid_tm() to check returned tm

On Tue, 17 Aug 2010 23:05:31 +0900 (JST), Atsushi Nemoto <anemo@....ocn.ne.jp> wrote:
> No, t->time does not contain complete date/time.  It just holds some
> alarm settings and -1 for some fields.
> 
> So rtc_valid_tm(&t->time) will always returns -EINVAL.
> The correct fix would be just reverting rtc_valid_tm here.
> 
> ------------------------------------------------------
> From: Atsushi Nemoto <anemo@....ocn.ne.jp>
> Subject: [PATCH] rtc: m41t80: do not use rtc_valid_tm in m41t80_rtc_read_alarm

Sorry, the patch contains non UTF-8 commit log.
I will resend the patch with corrected commit log.

---
Atsushi Nemoto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ