From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f174.google.com (mail-wj0-f174.google.com [209.85.210.174]) by dpdk.org (Postfix) with ESMTP id CD2EA2BAF for ; Tue, 6 Dec 2016 12:01:33 +0100 (CET) Received: by mail-wj0-f174.google.com with SMTP id tk12so20814043wjb.3 for ; Tue, 06 Dec 2016 03:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=iGfRh1+lBM09YKn9i7nuGKBAJ1ZMOGsu75gwRG7GB5Y=; b=E861GMahrXAGsDCo9stVDj+fPcga6EsDSHE4vnAVRdaiOMKAcuHv6DQIQDstmMpp+s QaLISmwkK5/x+uqTqum1lLugp/c77AT3+iOvGQQprAjDKHNcFs0g9omj7PZVGRgxwXK8 7rUPdNDz3u+gdpXhSXU6tqVlvE5lg1yEGm/df8lynuz+zvWP+NgtX3/50VHsvWMNY0zZ Sn/wcYOxtTthwvMEWI56qWK9fiwPtVFbYeTlPWcnf1J2tcd3EPcyZ2lTZGWGrIBLMG5g gsrUUSUPwZOjdRqNQIFAr69EOMZPIhzuIYetwnZ+a6J9w2J9ktS7qe2IihrdMI/PxTsW M9zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=iGfRh1+lBM09YKn9i7nuGKBAJ1ZMOGsu75gwRG7GB5Y=; b=KIc5YEJjgyg3REF7D28RT+i773y4k+Z6VsTxJ8meWDaoeM4+QLqSAWzhNzxLQ5repV KXuFGL71mh7lTjOg5K518WqAqei6DpjIkzunB1lxcm9D5Bd0HGBggmZFQ+fVs6xsyvHQ tBe94iPAySb2/qBc9+VAI881cJsryrs45mAYKSi1z4E+FayPnqbwYhwlty02GE1xIucg 5KHUD3oxQvOn4Q5SZ9DFwYYzlDd00EhrZ360gCCjuSYjjcfLJNC3T0r3fw+UVpvNkagl e66Cc/FrEwdJqWBn+1TVBo8g+BDzxpIxR8AU1qwOUEqQekEgB5+zjderHbLYeaZ8kHZe LbXA== X-Gm-Message-State: AKaTC022sm6ACEEufO1XJDfK7vyhU2MzzOtr4umZnYc4J3KJ6GvgwldnP6js7Sqe3OPuy1j1 X-Received: by 10.194.177.197 with SMTP id cs5mr62673557wjc.6.1481022093468; Tue, 06 Dec 2016 03:01:33 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id dj5sm25107733wjb.34.2016.12.06.03.01.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 03:01:32 -0800 (PST) From: Thomas Monjalon To: Wei Dai Cc: dev@dpdk.org, Olivier Matz , david.marchand@6wind.com, stable@dpdk.org Date: Tue, 06 Dec 2016 12:01:31 +0100 Message-ID: <1514903.KFypzPenqL@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20161206114459.0a05cbe0@platinum> References: <1479264047-67966-1-git-send-email-wei.dai@intel.com> <1479365235-134903-1-git-send-email-wei.dai@intel.com> <20161206114459.0a05cbe0@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3] eal/linuxapp: fix return value check of mknod() X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 11:01:33 -0000 2016-12-06 11:44, Olivier Matz: > Hi Wei, > > On Thu, 17 Nov 2016 14:47:15 +0800, Wei Dai wrote: > > In function pci_mknod_uio_dev() in lib/librte_eal/eal/eal_pci_uio.c, > > The return value of mknod() is ret, not f got by fopen(). > > So the value of ret should be checked for mknod(). > > > > Fixes: f7f97c16048e ("pci: add option --create-uio-dev to run without > > hotplug") CC: stable@dpdk.org > > Signed-off-by: Wei Dai > > Acked-by: Olivier Matz > > Thanks Applied, thanks