Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753203Ab1CFLjJ (ORCPT ); Sun, 6 Mar 2011 06:39:09 -0500 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:48087 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930Ab1CFLjF (ORCPT ); Sun, 6 Mar 2011 06:39:05 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: bookjovi@gmail.com Subject: Re: [PATCH 2/2] proc: fix some wrong error code usage Cc: kosaki.motohiro@jp.fujitsu.com, Andrew Morton , Al Viro , David Rientjes , Nick Piggin , linux-kernel@vger.kernel.org In-Reply-To: <1299104422-2620-1-git-send-email-bookjovi@gmail.com> References: <1299104422-2620-1-git-send-email-bookjovi@gmail.com> Message-Id: <20110306203830.6CD2.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Date: Sun, 6 Mar 2011 20:39:02 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 537 Lines: 19 > From: Jovi Zhang > > [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 Looks fine. Reviewed-by: KOSAKI Motohiro -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/