Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1068314rdb; Sun, 7 Jan 2024 02:02:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTYGHLm5CIT79axvM+IkGMwTupbgZx8SXUZPxtamK3Xsfpmmwwgo1jgJ/1fW9UEhMh+iRH X-Received: by 2002:ac8:59c8:0:b0:429:91cb:b199 with SMTP id f8-20020ac859c8000000b0042991cbb199mr572556qtf.135.1704621744586; Sun, 07 Jan 2024 02:02:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704621744; cv=none; d=google.com; s=arc-20160816; b=miasxq7z0sD5DyyyQR2V5ce+/uW6tflkEhSi/iYqEeGe122x3vaFtcsPSK6yKApEMI tn32Mdu8deZNl+v3CbD2cKJjOBJIiylbhnpMRlILdOqN+BR5qoJSGqBo7bW9qoPYFHEq Kt2ZWcZQ86a/ryfxizM7wuE3pc87rr4HTw7FdH2l8eRXu6sKTnn3l+Wqw47IymCtX0+y yuAmZvqlTf7X7m7OcoR44IdmsqVlPVN0aK/pZw3HtgQtxBEDowMNUjuW+j6/BfInP0dq SmEcDy5VCjTkw6E+2bwI9w6BiJDP2p+ixQcW0CXf87r7/7vUd4U88zrdQeQxB9V164C0 eG1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=8rP1vEXSeP3Uf/viFGY7Jcv0EE73WL/nsI+Y9nJQRVU=; fh=dNnfSg18Ptr+OweKY4QKN/WRiJyhS4OXToJzVPS7qUI=; b=qczmKbB9Z/5loorlQiT9d4kaMu9sves1/CNDLF16zrRXALiOU7y5bUIpDsBlnohe1Q 0Qh7KPx9gK/HI7F8G9EN+iF6eg4vhStBzLtERJUBlmNNUoTk/qE3U2zWazfgESQDZl6F qSsPPn6kXEk5292BU23pSL1ub2OD6nNAIRWzPAhhV8B444ERZb24QfwZKkw+sm31YOhW f5oN6cOnUPEDwydsskxPdbyCZRPGrICPVY6kEfud8mYyVwlMPdJZnaaitqnx+dfudS+L 64KyszY2y4+nSPCDBaWBE0vxtAtDLONxw7thc93IPgPZ7cPzX0JOxPOSD0SeCYzoqKXQ xOFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=MraMq4LM; spf=pass (google.com: domain of linux-kernel+bounces-18828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18828-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bz10-20020a05622a1e8a00b004297bf4f6e1si4444682qtb.194.2024.01.07.02.02.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 02:02:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=MraMq4LM; spf=pass (google.com: domain of linux-kernel+bounces-18828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18828-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DE71D1C21445 for ; Sun, 7 Jan 2024 10:02:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F9AC12B94; Sun, 7 Jan 2024 10:02:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="MraMq4LM" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.smtpout.orange.fr (smtp-29.smtpout.orange.fr [80.12.242.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AAD712B78 for ; Sun, 7 Jan 2024 10:02:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from pop-os.home ([92.140.202.140]) by smtp.orange.fr with ESMTPA id MPysrRwtE9WXyMPysrZ562; Sun, 07 Jan 2024 11:02:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1704621731; bh=8rP1vEXSeP3Uf/viFGY7Jcv0EE73WL/nsI+Y9nJQRVU=; h=From:To:Cc:Subject:Date; b=MraMq4LMbzLGfgWPcZyz9W+JAq/TnmdWHpMmmTf5zHQkGHtxf3wkCqR02yz/5NaWC TmwY/8EBB/RKuccHwX0bEDkaNCiLuNvP5ZVKMKU/m2Pjp7rK3BUF/i+ez60oWtAE6S bdzZR64yBoU8DjX4gm35eMxEiXEroFDdo5SG3b86sRFEt7wqmtsiFWu1K/1FOAfJ9m 1sTUPGOQCMRvDyU+NaxY5OgrZa6lCau8iUFK1AUYMcqxWnWqDNRDQbbwoBiuvvRGfj aeWcbJL490dzeVR0HYuzTf9iEesnEYs/eUWfEuOGCJYVrz5oR772sQJqln6XfYzlWp dttaO8ag7RTDg== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 07 Jan 2024 11:02:11 +0100 X-ME-IP: 92.140.202.140 From: Christophe JAILLET To: vkoul@kernel.org, jiaheng.fan@nxp.com, peng.ma@nxp.com, wen.he_1@nxp.com Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/3] dmaengine: fsl-qdma: Fix some error handling paths Date: Sun, 7 Jan 2024 11:02:02 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The first 2 patches are bug fixes related to missing dma_free_coherent() either in the remove function or in the error handling path of the probe. They are compile tested only. So review with care. The 3rd patch is only a clean up. Christophe JAILLET (3): dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA dmaengine: fsl-qdma: Remove a useless devm_kfree() drivers/dma/fsl-qdma.c | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) -- 2.34.1