Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2063487ybh; Fri, 13 Mar 2020 12:16:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv88o42jIme0IYfW9Pg1cO+KewViUbpWr2i8ifnjL5OJtWO3Lfa8lnzNNDfduWBS7sNC7PI X-Received: by 2002:aca:4bc5:: with SMTP id y188mr8441832oia.9.1584126994778; Fri, 13 Mar 2020 12:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584126994; cv=none; d=google.com; s=arc-20160816; b=xYSbp03rD7A5o6bHbJ4tVMNXna/bj7dIO/s0USwGlwrRoPl5U/DxIDJmChBx0kfdxB L9NQ7m1UBNscI6rWAstC7SXpdD1xlpTO6F07v0ojkGojLWs+PWcxD3QmIPyeTCS/g3qF Ret8Ls704p7UfDk5viBbDswpIY4ofXhEJ0uceGS/CL1En4Z3M9mZs6aJ6R0eTO4TSoLE ArpnovBinz5fxuuO4Xe4giygug0iAY4gd7W6/UOiz4rNphwCqliJpwq1BZ+AgwdNyuib Z4KYNV7GLQgd4YnXKvJgPMr0wlCAFhrFo0KDmkEanAI9HhHbgtBlnccTbrK+L9NaSJt4 CZSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=09yW9h+/nWoQmCEfqkkhObnUi342JHHlf0xuk0jzfN0=; b=kzzdtzDViN3Q4X4fxKJ2Q64dh1YpG6sM0pHs4hVzp+h7DCM9gdo4+q3/K+In/yMNdS tXo3qqVY/ec3SgrW1FLBYeehMmU0tgUwCdP2RQjDgJNngL7gF1ZeLQqaS0kAikkNh9mG oup7zC9Y7Lc7DIzG+XEsYte0i0wYlxWlIEmEdYfqkk61WeFfeqzh9Ey6YLEj1u2yLUyw qwCd/RFFpryj3AyYQ8e2d/Hl9s+Z26HnkFmwhfG1gAv+BwefEKl8XJOplSSzeLFtK9kB pcL0sU51DAPp1AAQJg4kCfY4ska3hW/fHNQ8ss7pi2Rj2I4XmOjKczR9cxo1xXASs2oC x+BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WKO5oG44; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si3742787otc.27.2020.03.13.12.16.21; Fri, 13 Mar 2020 12:16:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WKO5oG44; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgCMTO1 (ORCPT + 99 others); Fri, 13 Mar 2020 15:14:27 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42062 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbgCMTO0 (ORCPT ); Fri, 13 Mar 2020 15:14:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=09yW9h+/nWoQmCEfqkkhObnUi342JHHlf0xuk0jzfN0=; b=WKO5oG44guoe4OsIum/ZbICYeb ScFpySEpmQmrVbg9RX2pJ8BUKtRtJIika4bwC5MsWOM4NMdXjnLK7uZ+Q1juBMU0uxhIytcqB6Bys pbE46Dn3zrwnNB2znw+ErZqqkaNPwNp9/pDzExevw4krky7BiHYgOff0zNEMpcwAG5p4WuG6pk+kd r12PV/l3Q9KqLyoM9Xw5E/poPtanAqSl4xn3dWppISmLlEezXI62MTz9+UfXE++tP88DebFlu3myF czvKMhatDsho48IDWLUoqH+UTRC1jn3xE1SuQj5ddjuxdMfQixeRgFGvhEcxQMTndUdGwcfKLN6eu Fc93+vkA==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCplK-0006Cc-6S; Fri, 13 Mar 2020 19:14:26 +0000 Date: Fri, 13 Mar 2020 12:14:26 -0700 From: Matthew Wilcox To: Qiujun Huang Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] radix-tree: fix kernel-doc for radix_tree_find_next_bit Message-ID: <20200313191426.GO22433@bombadil.infradead.org> References: <20200313184909.4560-1-hqjagain@gmail.com> <20200313184909.4560-2-hqjagain@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200313184909.4560-2-hqjagain@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 14, 2020 at 02:49:08AM +0800, Qiujun Huang wrote: > * radix_tree_find_next_bit - find the next set bit in a memory region > * > * @addr: The address to base the search on > - * @size: The bitmap size in bits > + * @tag: The tag index (< RADIX_TREE_MAX_TAGS) > * @offset: The bitnumber to start searching at > * > * Unrollable variant of find_next_bit() for constant size arrays. > - * Tail bits starting from size to roundup(size, BITS_PER_LONG) must be zero. > - * Returns next bit offset, or size if nothing found. > + * Returns next bit offset, or RADIX_TREE_MAP_SIZE if nothing found. > */ > static __always_inline unsigned long > radix_tree_find_next_bit(struct radix_tree_node *node, unsigned int tag, Ugh, this is a static function with kernel-doc. What a waste of time ;-(