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 9AD544558B for ; Mon, 8 Jul 2024 15:28:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B13B41148; Mon, 8 Jul 2024 15:28:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 2AADB40E42 for ; Mon, 8 Jul 2024 15:28:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720445310; 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=pYKhmgpjMh/TvusiZz+bbenvs5UWxcviYHXOw6V1nWM=; b=Y+6eATA961uqWdO68R0IfcFR+TzE9PK9O36DUWXz/Qt75fBNdr52q+rZIZIY+pqYdmtJ4q JFwdszA3q2IiapPlznVxujdncwNYA6z+RdpRGddTf9wSf3Vl4GDkjU9d6cVmJauFNeOSXN gIQNEFEA4efb5MpHUK/KKwhpPc0TmeU= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-297-7kvud7WPO2G8ow50u6r5JA-1; Mon, 08 Jul 2024 09:28:29 -0400 X-MC-Unique: 7kvud7WPO2G8ow50u6r5JA-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-52e9d04d773so4274894e87.2 for ; Mon, 08 Jul 2024 06:28:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720445307; x=1721050107; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pYKhmgpjMh/TvusiZz+bbenvs5UWxcviYHXOw6V1nWM=; b=o+CcTC26R97Zv/rKWxEg+HvHRbzmCQe8C7kdiwDA1BJJafFFQKbUVI2PwbkaUWVXjN bYVWU7O8w9cKqxswDeoftz+Fmep2Wa6M9qlvt+lEg4MLFi5heD5tqeYJ8CvRiKhVUSHp zic65EBGKX4sX/fsMgtlhLVpMM/55qEvNQafai7EMNG6AXB0HHf6zuu0AJj6XfYCl7O0 LqAWo3SNcPk8SpKr0EJj4TAA/0Oo6zhAaRTKvNxcCzAYCHHTDnaYAkwbXL8kbxk+TDRl yJXb5uCqrmb/uOxhZADaago41wTcB5WgNII53agGRdLTW+Jw/stMBkIOA0+8WMWeb+fZ w+TA== X-Forwarded-Encrypted: i=1; AJvYcCXq+X6oWRANDYU7Ns4nnVRqlxpegWuEXdL4Oq0wcr5ECO7CUm3wd7sXIH+BdNt+QslD+dBf1Q4VVdVFjkhU5cw= X-Gm-Message-State: AOJu0YxR4EuJ8zoKTMUijyLxNcLfl/fpenKvOqCbSegndg5MwLbX0L4M AbSoRJ1iFDJdZU/WpQgT84Tw2X5IFR2Eu1mqnarTGh0gJtF7Ws0wJnhKhGU70ARdtlcEmBLJAEf AGqMRT6PekbRSy+ALoAV6FfGK7mJm9yl714A6ODlWorUTjLqjopo3typUn1WjRF1emh8v4nzz/5 q/dwLCGVwbPK2P+QuQmdQ= X-Received: by 2002:a19:ca55:0:b0:52e:9e70:d06e with SMTP id 2adb3069b0e04-52ea06cc0f9mr8681803e87.53.1720445307625; Mon, 08 Jul 2024 06:28:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDmiS9fYYaO9fVLNfnZcW49QHav14uKNLhEjklUFibDc6rDACg7EVoz/AN1qK5Sd5V0U3lHMQcN5UxMAphHdo= X-Received: by 2002:a19:ca55:0:b0:52e:9e70:d06e with SMTP id 2adb3069b0e04-52ea06cc0f9mr8681782e87.53.1720445307318; Mon, 08 Jul 2024 06:28:27 -0700 (PDT) MIME-Version: 1.0 References: <20240705074208.1902771-2-vanshika.shukla@nxp.com> <20240708072945.2376209-1-vanshika.shukla@nxp.com> <20240708072945.2376209-3-vanshika.shukla@nxp.com> In-Reply-To: <20240708072945.2376209-3-vanshika.shukla@nxp.com> From: David Marchand Date: Mon, 8 Jul 2024 15:28:14 +0200 Message-ID: Subject: Re: [PATCH v3 2/8] bus/dpaa: fix resource leak in variable dev To: vanshika.shukla@nxp.com Cc: dev@dpdk.org, Hemant Agrawal , Sachin Saxena , Harman Kalra , Hyong Youb Kim , stable@dpdk.org, Apeksha Gupta X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, Jul 8, 2024 at 9:29=E2=80=AFAM wrote: > > From: Apeksha Gupta > > Resource leak: > variable dev is going out of scope leaks the storage. > > Fixes: d61138d4f0e2 ("drivers: remove direct access to interrupt handle") > Cc: hkalra@marvell.com > Cc: stable@dpdk.org > > Signed-off-by: Apeksha Gupta > Signed-off-by: Vanshika Shukla This lgtm. Was this issue detected by the public CI coverity? If so, please add a Coverity ID: tag. --=20 David Marchand