[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110306203830.6CD2.A69D9226@jp.fujitsu.com>
Date: Sun, 6 Mar 2011 20:39:02 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: bookjovi@...il.com
Cc: kosaki.motohiro@...fujitsu.com,
Andrew Morton <akpm@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>,
David Rientjes <rientjes@...gle.com>,
Nick Piggin <npiggin@...nel.dk>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] proc: fix some wrong error code usage
> From: Jovi Zhang <bookjovi@...il.com>
>
> [root@wei 1]# cat /proc/1/mem
> cat: /proc/1/mem: No such process
>
> error code -ESRCH is wrong in this situation
>
> Signed-off-by: Jovi Zhang <bookjovi@...il.com>
Looks fine.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists