Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3606597rwb; Tue, 20 Sep 2022 02:01:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73HA6qNZHc07coaxCtBFdNI+72i8DeI4mUIFOMBaEI13CJ33MSC+M4AgB46VbQC94xGRn6 X-Received: by 2002:a17:907:6d8f:b0:781:db4d:d3b2 with SMTP id sb15-20020a1709076d8f00b00781db4dd3b2mr406997ejc.125.1663664472275; Tue, 20 Sep 2022 02:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663664472; cv=none; d=google.com; s=arc-20160816; b=GqMjYFWfklNn+yMISm4Dj3DZfljDd+8QIqK8Zk8SfP242A3pJQfP0iOknDYA7XZ6wV 7xcZWgXYqpqCbKprx8mmkd5cEFokOvzQBGTRBdCIqIWdayuxGprIDyWrC/4f4JMoxQiR IdBldEKHPPvVw/EDABP4ZtJeey3xdJDlM4M1rl1RWd7GbAofaNtX7Td6uWqGUfgsaEyR qUavO5dlpI7I+qsc2wyjPuvjUtcPdIHnTPvJCt3U8sS/T0FObid98VwirWihxdjS8UrT WkhZ6z5mXDJFG3HeOVweCbuemmflbDdeM8+1VfG+Fkg2ZJWQmIiJJ47KzsAvR0Kh/ZGz hNvA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fI6KR2XYkMm0fNXZ4hXvpp4VJ410FJUanuWhIpjAvl4=; b=QoWagiVJeb+r4MSpbIPFFSXdurv7N6emxt5zOuCTACsxLo07IixVOmzPQpM21YmXEk bE7nj87BKNtNCczhCXFLKEQHlv4lWdde2oO3u5C7ZKzI+kbTJ8Hm0oiJQ0Myp01G5TjH XcQcCWfZbDI/7+qxdLCR4T9uHyMTDI+Sa1evpt6GgibYauXOY+5axENmJv8zhPjIKGWL CQl220Sal6JJzwIl0pt9jbSlPc/3mT6qGujiNqvSlK8ssODF7eQhTcHIt80iB+FKKt+O /bdJrwpryZmdrpiEqO8bbHzNe4WTQJ+QA06bBaTAsSMn6sz9rC03VqhnToCMPxRmBajJ +n+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=EJbgurdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb11-20020a170907160b00b0072fa13ddca0si905796ejc.229.2022.09.20.02.00.44; Tue, 20 Sep 2022 02:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=EJbgurdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231252AbiITIfO (ORCPT + 99 others); Tue, 20 Sep 2022 04:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231255AbiITIeT (ORCPT ); Tue, 20 Sep 2022 04:34:19 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC9BF4D24B for ; Tue, 20 Sep 2022 01:34:11 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 1F674100006; Tue, 20 Sep 2022 08:34:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1663662850; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fI6KR2XYkMm0fNXZ4hXvpp4VJ410FJUanuWhIpjAvl4=; b=EJbgurdM6G5JlkUnG3NVn6aXa7kFc+M2OS0B0Z48WTxHAh1+0QKyZZopom8W8zFHgCWtj3 7svawuzjkBRwzvjblSNJ/tO2lHafieGYBlTXcTbqsBUhh/RRI8JXN4SSJyPm3NrfCnj4RP EEHoBiFtF1mTLUKPAlKlsD1NYKf4J0SbQ7GEx3u1948MEbF8WFuzPiPXzHPMR4rEBQZjXw D9eanBUo8R1Rx5YqSagJq+PlpvlsNZG6+kcrUXiLgu4Pl8dRzHR1eDoeUwlWfU5ocpR6Xc DB4Ug0PGDx0yeyeUn8AHIKj6vgzN6VneYTXY/7k5lYz1cG3r/riPO1Ni2H7W4A== From: Miquel Raynal To: Jack Wang , linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Christophe Kerello , Cai Huoqing , linux-mtd@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 04/19] mtd: rawnand: stm32_fmc2: Fix dma_map_sg error check Date: Tue, 20 Sep 2022 10:34:06 +0200 Message-Id: <20220920083406.601177-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220819060801.10443-5-jinpu.wang@ionos.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'10ca72235c7754f11abca2197a16e0608ff5fc4f' Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2022-08-19 at 06:07:46 UTC, Jack Wang wrote: > dma_map_sg return 0 on error, in case of error return -EIO. > > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra > Cc: Maxime Coquelin > Cc: Alexandre Torgue > Cc: Philipp Zabel > Cc: Christophe Kerello > Cc: Cai Huoqing > Cc: linux-mtd@lists.infradead.org > Cc: linux-stm32@st-md-mailman.stormreply.com > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Jack Wang > Reviewed-by: Christophe Kerello Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel