Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2149609rwe; Sun, 28 Aug 2022 05:06:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR7V0EmC7hpzpjuVC0OeV2/Jt+7ovJBrD8bja6henq6vCLmQ6aYwqwph8+tQYOjBA+gu8Omv X-Received: by 2002:a05:6402:26c6:b0:448:6812:7355 with SMTP id x6-20020a05640226c600b0044868127355mr1295235edd.385.1661688378600; Sun, 28 Aug 2022 05:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661688378; cv=none; d=google.com; s=arc-20160816; b=nUsUV1kSHMhruZAIbr3IO0fJZkU2M46PzUKZX+vww8gzdoVyYTdi7325MTWRe8s1/g sXWok4aczvOUNU7nMRy4R0odLfixb8nAfQJ57H1S2RDQgSfQt58JoPinmAmjSvoszNxu w0xzfYBLYo4LGAQXHrRODGQk9hT1Ltdeywr6QV8h8UpPgbQJ8l32/slqgtuTLZZ49Ddo u2KB9W5srb5vY/nxzU4IjNWMXv027MaKalpHrG7fBHkcZEH7cxjSeSQZ7jsQQBy8LAZz iGQEmqG0hMe/VW+RcTHnO7G4xrpaLMGt1hU4qXeABuXcIo6ZNAKOfTLW5He11JSuYI6q IWbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FXw1c43mTa71GpPVY+PG34YspS9XVYqJtLd0nbfsYF8=; b=pn3oHSVDjAjANmmT9aoXpsHo3MR85Kqpsd4GO+1CTkObuTfFMAlXiR3QGOOjjp1Hfb CWuIdGIMUlKwtr6Ks9QT5sgvdetTjeif7iqKea63zFbQEXjs/ToQRhdRpa9YdioR31/6 BcVDz7z6ngNUD7UgJQjx7FG05wV2ksq5ew7c2aVr23vsdR6AOINUG+heY929rx4BRiPg Zv1Ve3Oejx2qv21zF9fn49xrj3dmRYVYDAR11UdZvoMe+MNs6CXaFpOc9fTPVGFeWrUV rwLbAjyhoj7Vbqv7U+yi8yhPZLC0cd0kzmYSWjacP6mu1Z35yNE06ya2dtcL3wnw+BzY hNkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KqhCkSMG; 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 s6-20020a056402520600b00446190ccceesi4842342edd.10.2022.08.28.05.05.53; Sun, 28 Aug 2022 05:06:18 -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=KqhCkSMG; 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 S229600AbiH1LJ5 (ORCPT + 99 others); Sun, 28 Aug 2022 07:09:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbiH1LJ4 (ORCPT ); Sun, 28 Aug 2022 07:09:56 -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 1B297DE8F; Sun, 28 Aug 2022 04:09:54 -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 94E13B80184; Sun, 28 Aug 2022 11:09:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2907C433C1; Sun, 28 Aug 2022 11:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661684992; bh=FmWsr6bOiZ3HHpJ3Rzlv3W4JSWfY7QjPvk0Fqi5xNLc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KqhCkSMGJgGy2WqHyTslrXNzcIhJ8jJoKQPo9ZyoJ2oiF5n0nqDu9Ig0UUliQuWFo hRWOQJOQ8A3Ei7+0vsDWPl6viopmm8PyIbFv4O3o/89sHcXMgHSPNzkZ5EfbEfRSZ9 gz+tZ/c3gf05icfdGQvgbyib5GyeNANOx3ygHWep/4K4qRmVk3x1VwrcCuU6dmZwKn ky0oiQwtm3foCCUjyLBANv205uqtsfFdpuguauG3cVBFrxlsNukkyRmnw4pBypgwBK 8Gq+c/jS/VcdI1zQ1CNCcT+Mx28K8lWfrO8KAlCPxvhQWqtkRT2uzmxjyfGGzGF7au Gyh5feq/jrDbA== Date: Sun, 28 Aug 2022 14:09:47 +0300 From: Leon Romanovsky To: Jack Wang Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] RDMA: dma-mapping: Return an unsigned int from ib_dma_map_sg{,_attrs} Message-ID: References: <20220826095615.74328-1-jinpu.wang@ionos.com> <20220826095615.74328-3-jinpu.wang@ionos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220826095615.74328-3-jinpu.wang@ionos.com> 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, Aug 26, 2022 at 11:56:15AM +0200, Jack Wang wrote: > Following 2a047e0662ae ("dma-mapping: return an unsigned int from dma_map_sg{,_attrs}") > change the return value of ib_dma_map_sg{,attrs} to unsigned int. > > Cc: Jason Gunthorpe > Cc: Leon Romanovsky > Cc: Christoph Hellwig > Cc: linux-rdma@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Jack Wang > --- > drivers/infiniband/core/device.c | 2 +- > include/rdma/ib_verbs.h | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) You forgot to change ib_dma_map_sgtable_attrs() and various ib_dma_map_sg*() callers. Thanks