From patchwork Mon Dec 9 17:57:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 13900173 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 802071ACECC for ; Mon, 9 Dec 2024 17:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733767084; cv=none; b=utItx+m7hfVuDK2Rn+gMF/cFR2Y+IdF7OzRwlJ3437eZOJukAVY2c/Gpt0zbchvVeCceZSPUVAt3bBe+EkY94gl+yB6d5QRLoHPt3F+aObq5+PMp3msyGoQaVohnyKZVHFngrGLa7+zcuXJsH10pJb7bW10fEcdLfnVgLlCbtiU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733767084; c=relaxed/simple; bh=Y0UWrup3k88kt3zxiyLdBAaXUERYXhcmbMd/lY9JbrU=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=dqk6URZMqsCdu5FMPiBJRSQ4FxK5Ms7J7hBt/g2MigaPSYaZR8HKnQWOjkdy1s67KO3ULdG2UYoAfvG7m+45g0cQ43YOd4vVGlycwMN66MjMyZfydbndmGREdf95Ca3bH16pojxO332LDajFUX79ttSYOvpos7Phcu5FGelK2Vc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=EvJavJwA; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EvJavJwA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733767081; 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; bh=QhpxtO/mBMO94vZO3552ZqfP00gjpgAVYCMI7XwChuY=; b=EvJavJwAmj/T2xXPzEVgVarpfe4Cb0dmCAwh6oqxCsLCw5eFZwFXRmFYfKeYbDMMw8bSKY CvH1f2hZHvLXHKJIzLZwhKhzE6KR40wJ5qAZmv9rcIzIgaQ+kHpiI5o3Af1SASFS4HwOTo tqQsjeQJAsIo/QK1tYdE2CIXu+eR72M= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-P1HD2u1LMmiYqFjiGeIlYw-1; Mon, 09 Dec 2024 12:57:58 -0500 X-MC-Unique: P1HD2u1LMmiYqFjiGeIlYw-1 X-Mimecast-MFC-AGG-ID: P1HD2u1LMmiYqFjiGeIlYw Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E74691955F43; Mon, 9 Dec 2024 17:57:55 +0000 (UTC) Received: from starship.lan (unknown [10.22.82.46]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0E99E195605A; Mon, 9 Dec 2024 17:57:51 +0000 (UTC) From: Maxim Levitsky To: kvm@vger.kernel.org Cc: Jakub Kicinski , Haiyang Zhang , Souradeep Chakrabarti , linux-hyperv@vger.kernel.org, Dexuan Cui , Paolo Abeni , linux-kernel@vger.kernel.org, Konstantin Taranov , Leon Romanovsky , "K. Y. Srinivasan" , Wei Liu , Andrew Lunn , Shradha Gupta , "David S. Miller" , netdev@vger.kernel.org, Eric Dumazet , Long Li , Yury Norov , Maxim Levitsky Subject: [PATCH v2 0/2] MANA: Fix few memory leaks in mana_gd_setup_irqs Date: Mon, 9 Dec 2024 12:57:49 -0500 Message-Id: <20241209175751.287738-1-mlevitsk@redhat.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 Fix 2 minor memory leaks in the mana driver, introduced by commit 8afefc361209 ("net: mana: Assigning IRQ affinity on HT cores") Best regards, Maxim Levitsky Maxim Levitsky (2): net: mana: Fix memory leak in mana_gd_setup_irqs net: mana: Fix irq_contexts memory leak in mana_gd_setup_irqs drivers/net/ethernet/microsoft/mana/gdma_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Saurabh Sengar Reviewed-by: Yury Norov