From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 29 Oct 2007 11:25:26 +0000 (GMT) Received: from localhost.localdomain ([127.0.0.1]:2434 "EHLO dl5rb.ham-radio-op.net") by ftp.linux-mips.org with ESMTP id S28573943AbXJ2LZY (ORCPT ); Mon, 29 Oct 2007 11:25:24 +0000 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by dl5rb.ham-radio-op.net (8.14.1/8.13.8) with ESMTP id l9SNoBER027440 for ; Sun, 28 Oct 2007 23:50:11 GMT Received: (from ralf@localhost) by denk.linux-mips.net (8.14.1/8.14.1/Submit) id l9SNoB6Y027439; Sun, 28 Oct 2007 23:50:11 GMT Date: Sun, 28 Oct 2007 23:50:11 +0000 From: Ralf Baechle To: Atsushi Nemoto Cc: linux-mips@linux-mips.org Subject: Re: [PATCH] Fix cevt-r4k.c for 64-bit kernel Message-ID: <20071028235011.GA27320@linux-mips.org> References: <20071023.215119.25909456.anemo@mba.ocn.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071023.215119.25909456.anemo@mba.ocn.ne.jp> User-Agent: Mutt/1.5.14 (2007-02-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 17277 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Tue, Oct 23, 2007 at 09:51:19PM +0900, Atsushi Nemoto wrote: > The expression "(long)(read_c0_count() - cnt)" never be a negative > value on 64-bit kernel. Cast to "int" before comparison. > > Signed-off-by: Atsushi Nemoto Thanks, applied. Ralf