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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 21 Sep 2010 16:43:50 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Ondrej Zajicek <santiago@...reenet.org>
Cc:	olivers137@....com, wim@...ana.be, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] it87_wdt: Add support for watchdogs with 8b timers

On Tue, 14 Sep 2010 02:54:16 +0200
Ondrej Zajicek <santiago@...reenet.org> wrote:

> +static int wdt_round_time(int t)
> +{
> +	t += 59;
> +	t -= t % 60;
> +	return t;
> +}

fwiw, we could use kernel.h's roundup() here.
--
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