Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9097221pxu; Mon, 28 Dec 2020 06:34:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLxEh+y6vCw82iF3GY5J+YjHpid8ChFZUeYtFPvNhep3unI2xqixma2375U5FPOAaSGai6 X-Received: by 2002:a05:6402:1748:: with SMTP id v8mr43177112edx.136.1609166055998; Mon, 28 Dec 2020 06:34:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609166055; cv=none; d=google.com; s=arc-20160816; b=Y8YR6DT/a7T+eWtyLuxrukxsTnKaQcCyUgXdqWCcEM2dYwd10RnX83vXe8rNnycDjH 6l+D0EhCZnprFTewSeyjTHFmKDsuls5wkgrYcIfG9Qy5kw4UMXBoDAXPjP0eAUMS/Md2 cT3r8Lj00m8/+BvXjP+0KvaFGyVY92G8f98ULIwo2elD2alWYsNOm9YcO6/QX5Uo+Q3n BT9RGHnoWIP9L8cavis9e2L7/6KthQC5oL9BzDZSsDLlVZcrjzcUX/9rHNDxWDQzQw5e n2uukGMZaCgBCUhIzc2H5Di4C7GfG69LmFsX46ZKVOuP+ZgQnuu+LwDad+rpspmk3rps /YmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kyRdO8n2uIaSClsb3a+nuScU11WQ938Z0tN/YTS1U5o=; b=r0hnWvrM6GHYuNAkUuGOIyn+HHJOs6G5N+c+Ga0qoVNzUQMLVk2TZ13DR717D6nOh7 klWIonLw7qRH/UuWKV9KazzSCxen4sZPw2rgOF1TMuw3vfYnEeesZmcxey8GsS63lRms tN4ydTG4wFmIP45YBBUvnG0udoszLSUOCLP1J461p4CBqAk2UuOdY4PCpC5EZdz+RWyd 00Ba0rNnzAfBeScUqjdUSwA7GxLG8oFRZE2rh0uP0bhkkHMMln9XbC/zhymv/96eDN4m rTMDfko1uAKypRd/hWMVVGymvFqC82yoin5HdvHnoR4kqSxeqaCsMVT7lzFdNGiKP2bN 0UBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tMJiUW+k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si18769184ejf.491.2020.12.28.06.33.53; Mon, 28 Dec 2020 06:34:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tMJiUW+k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2504605AbgL1OcC (ORCPT + 99 others); Mon, 28 Dec 2020 09:32:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:39314 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504142AbgL1ObH (ORCPT ); Mon, 28 Dec 2020 09:31:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 85025208B6; Mon, 28 Dec 2020 14:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165826; bh=ZpI38a42wYjfWP93lg5YnLkfSApP0C2EHCZBK9Hrcn4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tMJiUW+kctxdDGXJJKnT5JV8hmm8+8J3200xpUAxaynjJYRfnpNUl5rQXgHQBVIQ3 91OImUFT5WsqMCFDgono5I1MkXyHQdEnP5xikgRq1seiSgCPbx5SKzR3JFXAcWmc3S 5jzLdNk0EYzKRVuQQPfLZYEYiMcviKghyh0UC3cU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sergei Antonov , Liang Yang , Miquel Raynal Subject: [PATCH 5.10 668/717] mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments Date: Mon, 28 Dec 2020 13:51:06 +0100 Message-Id: <20201228125052.984597876@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sergei Antonov commit c13d845e9a69580424d40b7b101c37d4f71bcd63 upstream. Arguments 'infolen' and 'datalen' to meson_nfc_dma_buffer_release() were mixed up. Fixes: 8fae856c53500 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") Cc: stable@vger.kernel.org Signed-off-by: Sergei Antonov Acked-by: Liang Yang Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20201028094940.11765-1-saproj@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/mtd/nand/raw/meson_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mtd/nand/raw/meson_nand.c +++ b/drivers/mtd/nand/raw/meson_nand.c @@ -510,7 +510,7 @@ static int meson_nfc_dma_buffer_setup(st } static void meson_nfc_dma_buffer_release(struct nand_chip *nand, - int infolen, int datalen, + int datalen, int infolen, enum dma_data_direction dir) { struct meson_nfc *nfc = nand_get_controller_data(nand);