Re: [PATCH 1/6] MIPS: irixelf: fix test unsigned var < 0
From: Ralf Baechle
Date: Wed Apr 16 2008 - 14:01:18 EST
On Wed, Apr 16, 2008 at 03:39:22AM +0200, Roel Kluin wrote:
> v is unsigned, cast to signed to evaluate the do_brk() return value,
do_brk() is expected to return its first argument as the result in case
of success. An error also wasn't getting propagated so some further
fixes were needed for irix_map_prda_page and its caller. So I'll apply
a different fix.
Thanks!
Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/