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: <CEE6BB42CAD6E947908279175AF8470A026B35EA9D@EXDCVYMBSTM006.EQ1STM.local>
Date:	Fri, 3 Sep 2010 10:38:08 +0200
From:	Linus WALLEIJ <linus.walleij@...ricsson.com>
To:	Kenneth Heitke <kheitke@...eaurora.org>,
	"khali@...ux-fr.org" <khali@...ux-fr.org>,
	"ben-linux@...ff.org" <ben-linux@...ff.org>,
	Srinidhi KASAGAR <srinidhi.kasagar@...ricsson.com>,
	"tsoni@...eaurora.org" <tsoni@...eaurora.org>
Cc:	"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
	Crane Cai <crane.cai@....com>,
	Samuel Ortiz <sameo@...ux.intel.com>,
	Ralf Baechle <ralf@...ux-mips.org>,
	"linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2 2/2] i2c: QUP based bus driver for Qualcomm MSM
 chipsets

[Kenneth]

> From: Kenneth Heitke [mailto:kheitke@...eaurora.org]
> Subject: [PATCH v2 2/2] i2c: QUP based bus driver for Qualcomm MSM
> chipsets
> (...)
> +	dev->one_bit_t = USEC_PER_SEC/pdata->bus_freq;

Maybe you want to use DIV_ROUND_UP() from kernel.h here
to be on the safe side?

Yours,
Linus Walleij
--
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