lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] MIPS: irixelf: fix test unsigned var < 0
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


\
 
 \ /
  Last update: 2008-04-16 20:03    [W:0.384 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site