Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2666937rwa; Mon, 22 Aug 2022 11:23:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR6i9/hCh5Ri5ilJy8UYwNV9NoRA+dP6w47OrGO9Xopaic+KXDusn6b31i4gvgSMGEeud90n X-Received: by 2002:a05:6a00:140e:b0:52f:8d74:4b77 with SMTP id l14-20020a056a00140e00b0052f8d744b77mr21528480pfu.39.1661192600019; Mon, 22 Aug 2022 11:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661192600; cv=none; d=google.com; s=arc-20160816; b=FbGS59+AWFl5dzN4t/TDE/GPx/Musjl4bRr5xF7dZWpOQLGDnkkhvimAgmj9AD7G5S SzG9BSb2wuOzibBPyOyLHpu0+wydWdeLS2TChSlp5yNAZWGsnsKW2M/YLd0n9qPh22nv AOv4t45uB8zTzUXcLWH0yFvPLVjptHr5CujBL+RuuM4Abd0T0IhWiaW99uN/hd9j7m7W lMLhzs3lnBrUCcSqbkP3c9VoPjf67c7N2bYUc6B9BQOn/zmWq5lo2Rdd/ApM0a6yZxf6 jrsvxZ2EGLLcxhADqVrF5Td8pLUA76uO+1omF/GALu+3dB/5WdwEmv463Y3CPY2sDx/L 36Dg== 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:subject:cc:to:from:date :dkim-signature; bh=LlBxykWoZQwodmX5FxMR+FUrDuvQCckhPJY4+3QYhbk=; b=jP0noXPV+ZNQ0xF9z7M1M4KswSW936mjmt1zn7gvEp4YXvbz6L+tkJDCX80dDb0YIn xjYRWT377xjLhnj+bZcndjP/zEEVusvNO8NqmXYDazo3f/wm2s94baTLwmjYgFSDJlBG ZGa2nbAGuGSZkM9oMxNXsLLBgdjt3cdNiRVjvoj+lQGiH9Bo7eVgMu0WZc9PsS5KZjCA fHn9D2juDIK/E5bqC8iZbUyJvzh5GIeJLmYEG/An+g6Cfp1TahpS4Zc7RCsxPuazQctY YbTtGbJcW0kXl+4CU24MiRuVQQpY7QjKwePBZnUdob1DlOSAt9v6bXHqUywAkIWIvjDH oRDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sAb+OzxX; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x71-20020a63864a000000b004230ec370eesi13808996pgd.647.2022.08.22.11.23.06; Mon, 22 Aug 2022 11:23:20 -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=@kernel.org header.s=k20201202 header.b=sAb+OzxX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237378AbiHVSUn (ORCPT + 99 others); Mon, 22 Aug 2022 14:20:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236713AbiHVSUl (ORCPT ); Mon, 22 Aug 2022 14:20:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0EAF46DB1; Mon, 22 Aug 2022 11:20:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8AAE2B81683; Mon, 22 Aug 2022 18:20:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2F99C433D6; Mon, 22 Aug 2022 18:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661192437; bh=LlBxykWoZQwodmX5FxMR+FUrDuvQCckhPJY4+3QYhbk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sAb+OzxXQcn1N7HBW4vlo7sl4yq+5o8hhTjKafODJFEJ4GNh0vTwRGu+ZbUb4NUUK 0s5ZIEHD/5SBvXzni51NNyFB6MHOO4RKaZmLX3IGLqT4I9NbmGnzXCkI0VkRz4vxsX Z9ESOinZzo4F/VQbBkoPsqgBmV9kyHdx9vhonBg2fTQBP0YD437XwnxreZElWB+xMD zLbQ09+fP7frpezDWKSIK/GnkqCUqSb/EmuyfkFYWN0TzQu0G/5hjBXwWp9tC0/t0T iin53wxgMkipI9CKR7e/Hk24ndf5ExSAn3iXWWGcd510DemeyTzRshZnHW3gsKYPQQ U21op77T0SvaA== Date: Mon, 22 Aug 2022 11:20:36 -0700 From: Jakub Kicinski To: Jack Wang Cc: linux-kernel@vger.kernel.org, Tariq Toukan , "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH v1 19/19] net/mlx4: Fix error check for dma_map_sg Message-ID: <20220822112036.2fc55c21@kernel.org> In-Reply-To: <20220819060801.10443-20-jinpu.wang@ionos.com> References: <20220819060801.10443-1-jinpu.wang@ionos.com> <20220819060801.10443-20-jinpu.wang@ionos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 Fri, 19 Aug 2022 08:08:01 +0200 Jack Wang wrote: > dma_map_sg return 0 on error. You need to resend it as an individual patch, not part of a series if you want it to be applied to the networking tree. Please keep Leon's review tag.