Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2182110rwa; Mon, 22 Aug 2022 03:45:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR4LbRaYv+oB7UxqPiVwn5pe8JtHX5S5ttBVdW76IOR0MXPF7bzz6qq+FLIHImUjfJ1IZSR4 X-Received: by 2002:a17:906:cc14:b0:73d:6749:a33d with SMTP id ml20-20020a170906cc1400b0073d6749a33dmr6546399ejb.707.1661165125733; Mon, 22 Aug 2022 03:45:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661165125; cv=none; d=google.com; s=arc-20160816; b=rU2djFqzy5S6WbEVxpn4DAOsin8kA7ehSaArQri1DO2KnPQmYF6sJDssG99myWKCOZ 0zMSDNMszR6mgTewlkOEMzSgtQC0pz4cV1rzaHIR41MMTGJ4N/jJvMW72OAZMgqj8y3R 88jwx13ilse58xSxeFEYsnsdF6GZJps/PkzabAojWsVzHqISkOVmkktPAk3hASf3y0bu jS2cj7cgkYyt7mkyVTwdJ+1VTfBtsAfwNj2d/J+hCxfx1ZpMI5AaJFyo4NnLKkIuYCZG nGA8Ob4QPsclkmGBzrsqozsbh2kK5Oed2BTk4ZMM65/Eb1unkxvCv9eGb+Jy1m3drYV3 o/KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DikM8GP/zEgRKFkeZTRN3UycE9/iW+eHLe67ZzKLAZQ=; b=mZelr1wMRllv3bIrUY+CVNz6p8yrbvmpDCY47hKtH9HlnkDm6aIVSfNUgW4625fL6F 2CfWAFB10QQ0G+Rdg5sWWVPmgQBjZbyL4SqkrRFv55O1aSY4tO7dmVEEVWE7Ent/vAii KIULam1VAsf/9Uautp8ypW5IVXkC7cGgVDFgtn83HGFeKCby5K85pws9tssOUtxVTAxr 5hLYWxPYIU4Xp0bNmcXYrLCU+3Ad/QmNr3EQ1aojnxvx0o1H7+tYxVgNOMz7oj1kLkJl DZDSvba17m5blzXLoS4Gf8tQ2GQ4aT405vmRepoxeBtMIiCsApdpuZrBwJ47WQ0OWDFX iANw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=Wl2oalmW; 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=NONE sp=NONE dis=NONE) header.from=ionos.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go20-20020a1709070d9400b0072b36dc02dfsi7531777ejc.262.2022.08.22.03.45.00; Mon, 22 Aug 2022 03:45:25 -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=@ionos.com header.s=google header.b=Wl2oalmW; 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=NONE sp=NONE dis=NONE) header.from=ionos.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233945AbiHVJ6s (ORCPT + 99 others); Mon, 22 Aug 2022 05:58:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234058AbiHVJ6o (ORCPT ); Mon, 22 Aug 2022 05:58:44 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C262A13FB8 for ; Mon, 22 Aug 2022 02:58:41 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id b16so13154478edd.4 for ; Mon, 22 Aug 2022 02:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=DikM8GP/zEgRKFkeZTRN3UycE9/iW+eHLe67ZzKLAZQ=; b=Wl2oalmWGoQbER5lNS9DCPG4y0KuFVUtNaWzmJrO4iMaBuzBGF9DVDEEWjvAoUqm0X J5lkNGbLMXX3LM4wz164xprUD5Cy2wTrjcNeRuXdekOi6CUbU1DzNOYW5gyky/iip/J8 jxsKITCJ8NG/AHXk7Kh21rLhpBp3qJ8ghaTXyxt36c3oXq3iwSe5l7Ahtnc8N7VrN6Fn ip6hJlsKaAR+QdoCeMddarQEPj4tCpfg/oH18TUg18ofFtWB8e443IqP8+1rAQZIo2qo cVbW/RzwR6jOwS2xgMy+dxc8p6/orbgZfDCw32NHEKMUNzn4lPHRKmzy/xmt79BFSnuA 4flA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=DikM8GP/zEgRKFkeZTRN3UycE9/iW+eHLe67ZzKLAZQ=; b=QMc+xyWKPRntd9+iZs9qJFWS84I+VMhxGUIKy3MrIhLWF76xZI+feMp25kaGlBpRuB y2jNnkzq8efKvdpsxLCQiOaLtzcR18NF8dJGVbEkJgQ/UJGuv3/OzqiBL72lQqWC+Va3 PWkXn270E6p9h/H5ZzlpF/TyCGYsL2ZhA9SJwS8st9yqR2LAx0nVvO9UoMRhYXr1JzSm zok0GqHf1tl+/yRCW7hJtjbQkrHKjuDL3W59AeAsSptI+5khF6toR4/UuHpUeERbXW5x QkLN0FzZFb0sCUvCwa6ivN2HfYbhMyOz6UjaWOih/Q4X7VfQ4NeOpz22/8dtKqg7oMIb pMWQ== X-Gm-Message-State: ACgBeo2PaIx88bvuzi4i0WIC6xhVxzuZy69E70jfNdsZNSATFORUcj5o tjzNtd4I4dFWLV2NU0H1tcvHBPyT24B3GNG6tkpApg== X-Received: by 2002:a50:9f44:0:b0:445:dfca:87da with SMTP id b62-20020a509f44000000b00445dfca87damr15233906edf.105.1661162320224; Mon, 22 Aug 2022 02:58:40 -0700 (PDT) MIME-Version: 1.0 References: <20220819060801.10443-1-jinpu.wang@ionos.com> <20220819060801.10443-2-jinpu.wang@ionos.com> In-Reply-To: From: Jinpu Wang Date: Mon, 22 Aug 2022 11:58:29 +0200 Message-ID: Subject: Re: [PATCH v1 01/19] mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg To: Dan Carpenter Cc: linux-kernel@vger.kernel.org, Jassi Brar Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Mon, Aug 22, 2022 at 7:07 AM Dan Carpenter wrote: > > On Fri, Aug 19, 2022 at 08:07:43AM +0200, Jack Wang wrote: > > dma_map_sg return 0 on error, fix the error check, and return -EIO > > to caller. > > > > Cc: Jassi Brar > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Jack Wang > > This needs a Fixes tag. > > Fixes: dbc049eee730 ("mailbox: Add driver for Broadcom FlexRM ring manager") Will add in the next version. Thank you! > > regards, > dan carpenter >