On Sun, Oct 28, 2007 at 03:38:43PM +0800, WANG Cong wrote:
> This patch contains varied fixes and improvements for some files under
> arch/um/os-Linux/, such as a typo fix in a perror message, a missing
> argument fix for a printf, some constifying for pointers and so on.

Generally looks good, thanks.


>               printf("failed to install handler for signal %d - errno = %d\n",
> -                    errno);
> +                    sig, errno);

Nice spotting - I wonder why gcc didn't complain about this.

> -     sigprocmask(on ? SIG_UNBLOCK : SIG_BLOCK, &sigset, &old);
> +     if (sigprocmask(on ? SIG_UNBLOCK : SIG_BLOCK, &sigset, &old) < 0)
> +             return -1;

In cases like this, I return -errno, not -1.  I'll fix this up.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to