From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F1993A32A2 for ; Thu, 24 Oct 2019 21:22:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1BC721EBE3; Thu, 24 Oct 2019 21:22:39 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 3E8131EBE2 for ; Thu, 24 Oct 2019 21:22:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571944957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KLOJQavs1MkRx1qMPziPZnM3jbuJ6oeel45w+YRSF5s=; b=Y4hLCi4ve3lPB2xLGUoGzH1x0c75rtMnStXmKiMBOiPvsXB52ZA+cAs6H1Zm6yu41DJiL1 sKyX4WB4CpmoRC543fGBVwg158e/EAYs3BJvJHhDVdGEEqza1CajpKqrVOEcqLOot6rbpG MPJXSZUHVtvATqurbIV0AdUxIZOYLnU= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-206-H6DrkTBzMNK2aRu0VHvW_Q-1; Thu, 24 Oct 2019 15:22:36 -0400 Received: by mail-vk1-f198.google.com with SMTP id v71so2982498vkd.16 for ; Thu, 24 Oct 2019 12:22:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y09aQ5+KgAII7My1C80arJvGTszpA74M3EIz+QCj5A4=; b=a163gcqix6xtcGJKcRi8q0p7XJnKmXFO5wJCUN/4EsIb9C+7MJ1yOnNxC1B4hDY5rN clG94MI2Xh+g9oY4adiFVLGi8ctWOAI9f/n6DE7/eDNA5Gbsp7qhtmCi3VQZYkd7xnm9 ZhCHA8ANXXkzfP33ouf7EJyhaaRk1XU33WfkFtzez1uKW9jeDXLG47AJVJWgZotg9ekg ufayrfOY17CxS3IwAb4vzZquJoiSDP8pbYKH02Nq9Lv+BGNQEAWBUKfcrx3/KXvh7KmL rSc4mXC3ootxQCj9cHY86LNB4VDcgrKZ023Tyb1E0yfzVSyjkso44F8MvRNZx0QTHYni 18Dg== X-Gm-Message-State: APjAAAWDnMnT644KoMa03fTRHxF2vd1GxwwtRCSbAlW7MpmYRp8pEvdd vovHwvjOlAwJBbM8T2A331AdPzzHgcz4QHxjgwFAheB4ObL6ODaUKDjCqbgnUAU2A5lKLtUmFFV 6i0olS6RAmyHAT3LJmf8= X-Received: by 2002:a67:fa99:: with SMTP id f25mr3262174vsq.141.1571944955745; Thu, 24 Oct 2019 12:22:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVgPN0fJeZ3u9hmka298t456ebBBfLTUADD6qd17ocpNqcTX1Ut/sJ5Z4gQOAU831d4qCwl7aEf3AXEl2G8JA= X-Received: by 2002:a67:fa99:: with SMTP id f25mr3262160vsq.141.1571944955460; Thu, 24 Oct 2019 12:22:35 -0700 (PDT) MIME-Version: 1.0 References: <20190917222459.19097-1-tianfei.zhang@intel.com> In-Reply-To: <20190917222459.19097-1-tianfei.zhang@intel.com> From: David Marchand Date: Thu, 24 Oct 2019 21:22:24 +0200 Message-ID: To: Rosen Xu , Tianfei zhang Cc: dev , dpdk stable X-MC-Unique: H6DrkTBzMNK2aRu0VHvW_Q-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] raw/ifpga/base: dereference before null check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Sep 17, 2019 at 4:38 PM Tianfei zhang wro= te: > > Add pointer null check before dereference. > > Coverity issue: 344976 > Fixes: 12f92a51 ("raw/ifpga/base: fix retimer link status") > Cc: stable@dpdk.org > > Signed-off-by: Tianfei zhang This patch touches a "base driver" file, is this ok ? --=20 David Marchand