Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2035621pxm; Thu, 24 Feb 2022 14:52:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRffAXkbmuFsWicCzU8KEs4cbkV4AYjuezlubfGZEWr+/utTNQLHi7FPd3iTSAOnK60T6d X-Received: by 2002:a63:6201:0:b0:372:d3d1:a684 with SMTP id w1-20020a636201000000b00372d3d1a684mr3853794pgb.523.1645743135318; Thu, 24 Feb 2022 14:52:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645743135; cv=none; d=google.com; s=arc-20160816; b=HypDBdDehfnSJdI7KEyE0YYCJ2EyL7eyLUmklXkiYbk0v3SHsKEOrsPsaUA7hP2IhL +aTC2sYXYj5E33+eD5ewf5Jy1nzhwoivEqii/k6CKVNWeifBmv1glHPSOpAVwApGG4Dm ChABe4ekieS7fOrRNNrOOnbRMBB5TmOMY/Qe23URmEAzNXEE7w9dcqKQWjwilXQ2xrpf 0xLPm0QUhrjuXVeM4PRx+bcDXMTtVszWonzBR3hdiYH/AQl/YoLnx4Z9HRnPXUHse/S2 IRMRyR89Y0FJnpcsRcrKerPJzhT3U4waMgX476biqA5ycnR76YIp4MTuMVZA7mfFTMGB eQtg== 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=gWZg4Mci3xMMsMEKOEhQVemcFoUDv2r9A30g2OkQn5Q=; b=gyCr1ZlR0k02fLQbeRkIR1gD32glNyom+aQbbkGtjN6OIpt5SNQ1Ei6NJTBJ+L1BHR GApyJjdCiZzbs7eMhNMjS8LZSqrFTKiSJiHwYU6+qDzi0nMjre3m4Nq7sxdxLe3KwfFC rjVNMuKSJ1nM1Ftd7dR0VILC9Cvc4dLSh5qYvDBlXJ+CatRuzREe02nXOo09bDd0O0jM 04mSDb/vwlDquS+hoDY2yw8XFlz6FrHJqEm9FLmDmbTwMEnVi4v/HIp08Oxws1UGQAgN kGES8Rlx9etZvCE038eFBWw364jEqPn/VSUVlVPDdPzr+87hhFCOxSMwx8i+rzKFTe0a gDAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WQKWMh7k; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c21-20020a170902b69500b0014d6601cac8si376318pls.377.2022.02.24.14.51.59; Thu, 24 Feb 2022 14:52:15 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b=WQKWMh7k; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235276AbiBXWLk (ORCPT + 99 others); Thu, 24 Feb 2022 17:11:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232144AbiBXWLk (ORCPT ); Thu, 24 Feb 2022 17:11:40 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B380528D391 for ; Thu, 24 Feb 2022 14:11:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gWZg4Mci3xMMsMEKOEhQVemcFoUDv2r9A30g2OkQn5Q=; b=WQKWMh7keWV19NfHy2Fp2epWvW GhuT9NVFRE/xGT5ypZtUYqcBTzwyA9S5T1xiZUoUgHlRmO1UQeNWCfRnhpVWsWODmeV7mze37dPyl HfgdyeeWmA2zbKW5KL5oJarc9wjPjaTU+IzIekcqRiAS4aBcSptMO0xiZMsqDKi9pinxtjkN7NAJy gsHPPw7lbO1U8BwgjxldHsgHbLjIgeemX+8lefL2f09eSsyYR4+m1z+VS3ZQOCTR4x7k8hF51hWH5 LS2BhNL4hwSUiKIebZ5Q9BwG2gXVqI/momUwsQOygIokUS3RCAgySXhiUScbo8vNsMAd9uf1szyJ8 5mRJIp/A==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNMKF-005BYv-72; Thu, 24 Feb 2022 22:11:03 +0000 Date: Thu, 24 Feb 2022 22:11:03 +0000 From: Matthew Wilcox To: Yang Li Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH -next] mm/rmap: Fix argument list that the kdoc format and script verified. Message-ID: References: <20220224014344.99537-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220224014344.99537-1-yang.lee@linux.alibaba.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Thu, Feb 24, 2022 at 09:43:44AM +0800, Yang Li wrote: > mm/rmap.c:2086: warning: Function parameter or member 'folio' not > described in 'folio_make_device_exclusive' > mm/rmap.c:2086: warning: expecting prototype for > page_make_device_exclusive(). Prototype was for > folio_make_device_exclusive() instead /** - * page_make_device_exclusive - mark the page exclusively owned by a device - * @page: the page to replace page table entries for - * @mm: the mm_struct where the page is expected to be mapped - * @address: address where the page is expected to be mapped + * folio_make_device_exclusive - Mark the folio exclusively owned by a device. + * @folio: The folio to replace page table entries for. + * @mm: The mm_struct where the folio is expected to be mapped. + * @address: Address where the folio is expected to be mapped. * @owner: passed to MMU_NOTIFY_EXCLUSIVE range notifier callbacks * - * Tries to remove all the page table entries which are mapping this page and - * replace them with special device exclusive swap entries to grant a device - * exclusive access to the page. Caller must hold the page lock. + * Tries to remove all the page table entries which are mapping this + * folio and replace them with special device exclusive swap entries to + * grant a device exclusive access to the folio. * - * Returns false if the page is still mapped, or if it could not be unmapped + * Context: Caller must hold the folio lock. + * Return: false if the page is still mapped, or if it could not be unmapped * from the expected address. Otherwise returns true (success). */