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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070424180348.2d40fbcb.dada1@cosmosbay.com>
Date:	Tue, 24 Apr 2007 18:03:48 +0200
From:	Eric Dumazet <dada1@...mosbay.com>
To:	Adrian Bunk <bunk@...sta.de>
Cc:	YOSHIFUJI Hideaki / ____________ 
	<yoshfuji@...ux-ipv6.org>, davem@...emloft.net,
	shemminger@...l.org, netdev@...r.kernel.org,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [net-2.6.22] [TCP]: Fix linkage errors.

On Tue, 24 Apr 2007 17:53:24 +0200
Adrian Bunk <bunk@...sta.de> wrote:
> Couldn't this be better solved by adding something like the following 
> to include/linux/ktime.h ?
> 
> static inline s64 ktime_to_us(const ktime_t kt)
> {
>    return (s64) kt.tv.sec * USEC_PER_SEC + kt.tv.nsec / NSEC_PER_USEC;
> }
> 

Please check again include/linux/ktime.h

tv struct is defined inside 'ktime_t' only if BITS_PER_LONG != 64 && !defined(CONFIG_KTIME_SCALAR)

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ