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: <481E2D35.6080600@keyaccess.nl>
Date:	Sun, 04 May 2008 23:40:05 +0200
From:	Rene Herman <rene.herman@...access.nl>
To:	Randy Dunlap <randy.dunlap@...cle.com>
CC:	Bjorn Helgaas <bjorn.helgaas@...com>,
	Joe Perches <joe@...ches.com>, linux-next@...r.kernel.org,
	lkml <linux-kernel@...r.kernel.org>,
	akpm <akpm@...ux-foundation.org>
Subject: Re: [PATCH -next] PNP: fix printk format warnings

On 04-05-08 23:05, Randy Dunlap wrote:

> My original patch did (int) cast but Joe suggested using unsigned long
> long.  I didn't expect DMA channel or irq to be anywhere near that large,
> so I thought that (int) would be sufficient, at the same time recognizing
> that it does/could truncate the value, while ull won't truncate.

Yes, (int) would've been fine. It's (int) in PnPACPI as well which is what I 
remebered seeing. Doesn't matter much ofcourse.

Rene.
--
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