From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7081BEB64DC for ; Thu, 20 Jul 2023 08:01:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjGTIB0 (ORCPT ); Thu, 20 Jul 2023 04:01:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbjGTIBU (ORCPT ); Thu, 20 Jul 2023 04:01:20 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CBF6270E; Thu, 20 Jul 2023 01:01:15 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 3931F6732D; Thu, 20 Jul 2023 10:01:11 +0200 (CEST) Date: Thu, 20 Jul 2023 10:01:10 +0200 From: Christoph Hellwig To: Petr =?utf-8?B?VGVzYcWZw61r?= Cc: Christoph Hellwig , Petr Tesarik , Stefano Stabellini , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , Greg Kroah-Hartman , "Rafael J. Wysocki" , Juergen Gross , Oleksandr Tyshchenko , Marek Szyprowski , Robin Murphy , Petr Tesarik , Jonathan Corbet , Andy Shevchenko , Hans de Goede , James Seo , James Clark , Kees Cook , "moderated list:XEN HYPERVISOR ARM" , "moderated list:ARM PORT" , open list , "open list:MIPS" , "open list:XEN SWIOTLB SUBSYSTEM" , Roberto Sassu , Kefeng Wang Subject: Re: [PATCH v4 2/8] swiotlb: add documentation and rename swiotlb_do_find_slots() Message-ID: <20230720080110.GA6358@lst.de> References: <11826bfbc148771ab36d0b485558aa52cbdd204f.1689261692.git.petr.tesarik.ext@huawei.com> <20230720063819.GB3842@lst.de> <20230720095609.55b3a642@meshulam.tesarici.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230720095609.55b3a642@meshulam.tesarici.cz> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 20, 2023 at 09:56:09AM +0200, Petr Tesařík wrote: > On Thu, 20 Jul 2023 08:38:19 +0200 > Christoph Hellwig wrote: > > > On Thu, Jul 13, 2023 at 05:23:13PM +0200, Petr Tesarik wrote: > > > From: Petr Tesarik > > > > > > Add some kernel-doc comments and move the existing documentation of struct > > > io_tlb_slot to its correct location. The latter was forgotten in commit > > > 942a8186eb445 ("swiotlb: move struct io_tlb_slot to swiotlb.c"). > > > > > > Use the opportunity to give swiotlb_do_find_slots() a more descriptive > > > name, which makes it clear how it differs from swiotlb_find_slots(). > > > > Please keep the swiotlb_ prefix. Otherwise this looks good to me. > > Will do. Out of curiosity, why does it matter for a static (file-local) > function? Because it makes looking at stack traces much easier.