Message ID | 1478542665-17089-14-git-send-email-peter.griffin@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 682DA6022E for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 Nov 2016 18:27:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F8BF28C3A for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 Nov 2016 18:27:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 534A828C71; Mon, 7 Nov 2016 18:27:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D581328C3A for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 7 Nov 2016 18:27:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3oc4-0007k0-EK; Mon, 07 Nov 2016 18:25:44 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3oVM-0008D4-JJ for linux-arm-kernel@bombadil.infradead.org; Mon, 07 Nov 2016 18:18:48 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3oVG-0003qD-Uk for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2016 18:18:46 +0000 Received: by mail-wm0-x22d.google.com with SMTP id a197so199496943wmd.0 for <linux-arm-kernel@lists.infradead.org>; Mon, 07 Nov 2016 10:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TUGkQCSCoT0uZ+/ZU1i/xGjWMWPMAjhXoMBHIu+3NrU=; b=iz08iksadUXfJPYBg5SR6n0df2pOZf9opZ0XcxXRsDWqNbffiFs4Hr9KHRM/VwHi9L Mx0yMJMy/lcjUC+GLNOYAxbUHoAQRJZc5blN0dQrcJfwq1xPXNcddK5XxdOhjcZ7ioe8 zrJsPfxcdcbZ3RgXjYeXqiuGKu9pRia/TtF2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TUGkQCSCoT0uZ+/ZU1i/xGjWMWPMAjhXoMBHIu+3NrU=; b=WQM42g/Ut5ly6IyUpiN/sGlowhGxBhokPNPAcfCzhfgnO7c7ATSsgpN081TtRCCyUB KVlt3M1gADYfoKi5hViJFd2Nz7OdO9XV3PEOxjVHTyzuuaNegbItUn7C2YgZIoel/PFh dG6r+ZMeUhz5ehJU2afbCS73ZHfJpf1W73fvTzn15OJ5V+O9Vk6QKcSpgGfdvNAAi+7K 2M/witOI9aVfVjvu9QJGPdiWK4h4vUrce3IOz1WterDZvarwlTxjZld+ASgpzeK4KUHr 5lvdAul35ZWMlNKCfQFQavNxND5zNoUJF96U4z4k/+nzdF85AeqA5g8LOnciLasoBPEx PnbA== X-Gm-Message-State: ABUngvfp6LuCZFrKVzgJtpTlBxx748MHlnmRuKDj8eWi4VRLdXiB4yh2Zd8ieZUKzOZC6Aas X-Received: by 10.194.116.225 with SMTP id jz1mr6759840wjb.224.1478542700823; Mon, 07 Nov 2016 10:18:20 -0800 (PST) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id c4sm14921903wmh.4.2016.11.07.10.18.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 10:18:20 -0800 (PST) From: Peter Griffin <peter.griffin@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, bjorn.andersson@linaro.org, vinod.koul@intel.com, ohad@wizery.com Subject: [PATCH v11 13/14] dmaengine: st_fdma: Fix the error return code in st_fdma_probe() Date: Mon, 7 Nov 2016 18:17:44 +0000 Message-Id: <1478542665-17089-14-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478542665-17089-1-git-send-email-peter.griffin@linaro.org> References: <1478542665-17089-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161107_181843_062052_96795D97 X-CRM114-Status: GOOD ( 13.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: peter.griffin@linaro.org, dmaengine@vger.kernel.org, lee.jones@linaro.org, remoteproc@vger.kernel.org, Wei Yongjun <weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/dma/st_fdma.c b/drivers/dma/st_fdma.c index 232d354..bfb79bd 100644 --- a/drivers/dma/st_fdma.c +++ b/drivers/dma/st_fdma.c @@ -792,7 +792,7 @@ static int st_fdma_probe(struct platform_device *pdev) } fdev->slim_rproc = st_slim_rproc_alloc(pdev, fdev->fw_name); - if (!fdev->slim_rproc) { + if (IS_ERR(fdev->slim_rproc)) { ret = PTR_ERR(fdev->slim_rproc); dev_err(&pdev->dev, "slim_rproc_alloc failed (%d)\n", ret); goto err;