From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 740F9A0C48; Tue, 20 Jul 2021 17:21:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 605C140696; Tue, 20 Jul 2021 17:21:27 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id C565B4068B for ; Tue, 20 Jul 2021 17:21:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626794485; 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: in-reply-to:in-reply-to:references:references; bh=0PnwwIZSupjBtapt7mYkj7wzZG8lUFJEN/XDbMhPgqc=; b=hG0BjO1lKJKZWDIL8Orj9qsQo2jOD6z468cA4N6TBhJ/SqhTWDn5u5zNVqSsmUozLgfRo2 wGgqWokJ0AMjbjDFRBpSXBR/FCfG/7yie8Ta4HOlhAqfkbpufX5DeZqAnji0/XCXe2e48u XUBP6/pvq2j0jzoGqkt27EK0xGv6bvg= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-183-nEISlDirNTGEk3D9WCc9TQ-1; Tue, 20 Jul 2021 11:21:23 -0400 X-MC-Unique: nEISlDirNTGEk3D9WCc9TQ-1 Received: by mail-vs1-f71.google.com with SMTP id c18-20020a0561023a52b029029965ab3623so5075620vsu.1 for ; Tue, 20 Jul 2021 08:21:23 -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=0PnwwIZSupjBtapt7mYkj7wzZG8lUFJEN/XDbMhPgqc=; b=FDfWpiM8GHJKw9rhX1EHQ6Tionb7jFdTVWRzxFBCxjBo38LwDi8rDPN8dKmLEfPhk5 NwQ4ldTOz11AnD8ERTLLZZk6+kKsD0GFWBzsiBH0vl1GfbAAkJ71GT5laNTnm8QDAY/a LSHqnRp6LEB/ZFKv046vd8WOsVhLYtxOdLhce/oOiyJqEWMv3ki4eqtuUNPFmnA2QNAC 4+eqHzC0F433iLWCRxtnfMvUMbSRkcmUbyaqBsIznF+a3H6TgtRY6eV80MsWNSZaKRKm pgs8TXQaxRXe2FkJl7VKZ7rmusAcOj7LWjGYuP+5hs2RvHcJnqvQCW/pGfWfLtXUiUiG XFOg== X-Gm-Message-State: AOAM531DBY3iZnhlkFYpn5fF0u8RDQFdnaylmyd9MQGL3KC5h6QRZCsS ptO/ta22ayTzCPHeqtUSinWEZ9WNJQzb+e9UPu38cDpnW3VrKIStIAxrwAuG2yJ2SypAL6bHJsv I158vRkctsX/yRaBGiVE= X-Received: by 2002:a1f:a655:: with SMTP id p82mr26500801vke.20.1626794483435; Tue, 20 Jul 2021 08:21:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyow2cdBehBnkD+Hry/cW1DFhWn9haWJaSeScjMwtwxS1S2dO2zmWM6ahKCi4Bz3xdvxQYbEkkWLCD0NQ4F1YA= X-Received: by 2002:a1f:a655:: with SMTP id p82mr26500788vke.20.1626794483270; Tue, 20 Jul 2021 08:21:23 -0700 (PDT) MIME-Version: 1.0 References: <77dc13d24d7c77526e088756784ce073bc02fe7f.1625842874.git.anatoly.burakov@intel.com> <634db86689fc6a6ff28c5e59aff340d81f711a42.1625846156.git.anatoly.burakov@intel.com> In-Reply-To: <634db86689fc6a6ff28c5e59aff340d81f711a42.1625846156.git.anatoly.burakov@intel.com> From: David Marchand Date: Tue, 20 Jul 2021 17:21:12 +0200 Message-ID: To: Anatoly Burakov Cc: dev , David Hunt Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 1/1] power: fix potential null dereferences X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Fri, Jul 9, 2021 at 5:57 PM Anatoly Burakov wrote: > > Currently, the error paths can lead to attempts at dereferencing NULL > pointers. Add the check to avoid attempts at dereferencing NULL > pointers. > > Coverity issue: 371895 > Coverity issue: 371889 > Fixes: 06cffd468fdd ("power: refactor ACPI and intel_pstate support") > > Signed-off-by: Anatoly Burakov > Reviewed-by: David Marchand Applied, thanks. -- David Marchand