linux-mips
[Top] [All Lists]

Re: [PATCH] tx4938ide: Avoid underflow on calculation of a wait cycle

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] tx4938ide: Avoid underflow on calculation of a wait cycle
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Wed, 29 Oct 2008 20:20:17 +0100
Cc: linux-mips@linux-mips.org, linux-ide@vger.kernel.org, ralf@linux-mips.org, sshtylyov@ru.mvista.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=xs+U5sqVqQZkeUBcF7J6xkl3QC4VzxIFwRvGzHhScWA=; b=m3WUHT4Q4d+jBEDDGQvijaYffpnITQMubJcYDWjr5KZldpTw57wpeLyDrLU+LrCZwA 7ZMbEoC2WKaf7jain70zP953l5MtKOsrg9sR0ZJqBu4Gjq4IN302j3fcpYi1ahZa8wLr /aHVyRw6YZ5hhwwCkkHAxkqPNSAzvTABwVMxY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=G0xYSt2F1ECQrMSwbtHxf/Jf+iOV5HyUKDk8Noq9miL+DvyfC5KS558w4u8dSVAOV+ ohtoMqxhKzD573mqaeunM4Wa9PfI4l+bm+7YyhsYPCIz0Prgmv1Ki/kYYmx59BYhfTfr 59dqwgWadCgWyGY77Bzq1d2SeD+10mmkSYgLA=
In-reply-to: <20081028.220904.128617360.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081028.220904.128617360.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.10
On Tuesday 28 October 2008, Atsushi Nemoto wrote:
> Make 'wt' variable signed while it can be negative during calculation.
> 
> Suggested-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

applied

<Prev in Thread] Current Thread [Next in Thread>