Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2037636ybh; Fri, 13 Mar 2020 11:49:58 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsc4L7Q+ZiZRCMJnNd7OZCppKFBCk5GjlOKXzmAHnFB0u9VnFgUfgkz8zLQviHpLKue4sed X-Received: by 2002:aca:5014:: with SMTP id e20mr8316566oib.34.1584125398069; Fri, 13 Mar 2020 11:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584125398; cv=none; d=google.com; s=arc-20160816; b=CmpiJ9R0EVdm3DAEQLc7Wc1f+/pNPV2uZegV/qU1zWKdwkodGkiP9s47hckE1ki5TK /KeHpSZMAE8LuFVjQPlxxQdV62IKU+lhUeNVUqiHOIxnThQ2LIgKxv6Jc2UV9cXFpBKZ 5w6HOxmnPa5pYUdr2Nv9mjr2awhVzQJhxZa8UWPCWR8vRMbdFebQ4tjSJlH0AiL9UmNT DPChY18L16SgeNY4PvikBVE8kac0M4/IkAuFCSmui77ivZjoXwy5+Kj5g6LdU1rE7p1p Ah+Z7HiRuMFTUzz5IqrCDazbjVSMfy99tXfywQfQzrVWfxDtwZXGQE+Y4oV37jDKk2Ud z5kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=TIeI33CnP5QKpGnSsdiCsIF7t+lJnBbahrkQscJS5rM=; b=eLtyYnz8t4kOKtpSJ4yVq7HgKgmyFffu8Xi/IICYuB4Mi79Xhu/zj4z57/WsjehQ/U DnZB/F/rCMf+SGZRP4N6+83em3MfVemPuT+ZGsQ3hHPEq7TfqnTjTI5RHXrHouuF8qWX go4SPrdIAqQCmaJ/NqtPkfPbrX8e2OYCEbNvHPuuvpJDhWFznX1cOodmbzFzmvEiZBHB k6z3gQvmSCTMqgWiEDdLnUN6YPexCj1Bvh/XJ8XDMCuuFyflC/fa3memnQ6hQB5zcjzz 7IiLnjKkifriB4hEaxFe86wqXqzu/pFzXRAMoaEuXnCT9cJ+M57U6CK/f/ZCoLD1BpB0 15lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MxRXc6Q5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g22si3597760otn.104.2020.03.13.11.49.45; Fri, 13 Mar 2020 11:49:58 -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=pass header.i=@gmail.com header.s=20161025 header.b=MxRXc6Q5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727241AbgCMStT (ORCPT + 99 others); Fri, 13 Mar 2020 14:49:19 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35117 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbgCMStS (ORCPT ); Fri, 13 Mar 2020 14:49:18 -0400 Received: by mail-pg1-f196.google.com with SMTP id 7so5497069pgr.2 for ; Fri, 13 Mar 2020 11:49:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TIeI33CnP5QKpGnSsdiCsIF7t+lJnBbahrkQscJS5rM=; b=MxRXc6Q5qEBOKxx981TK60HddE0pLJrWcX3X1iyZ58ji4eAMN/2C/jDtrm38DtPic7 WTKdLEZgTrOhmpEhA1fBVgjmoGAky3/ysR9xMFQruBvj7SFURkKw/XRkelOb7dD23QHw +IfRERm4I/yexOg3WXfAYAvgHl/u3DuuHv5XJTXYySAvwhJMRcBT1b+2EssY874b3F85 gnb5gNxeaa8KDOyoldEDumt6PjiOB9xh5cHWXy5Rp3nmWXLqOc1ZspCuY/5bZbf2FGnC /J/VfA7gOL8lP2BlJw/bN+8TwmQeccm99qkZXO4WHW/5LvsY4yfjK37hxkx/8WeqgMSU 8ucw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TIeI33CnP5QKpGnSsdiCsIF7t+lJnBbahrkQscJS5rM=; b=b9ZdPIPeYo6oD+TgncqtcsQ2kuF7QuSW6/N6a7QwGeX1D/IgNoQH1HEeujXzc4qIwI 2dv895XJpHDWkd0AAv9KvICJHzicave/BOCFGbsrTx6R62Y5xF3EklcQwQ3F1wuFWTis xZuncWWVPR6Y7qBDBIqhAQuTAcbLoss6hZrNkIMNxcLI+MAG9NUopdHJNtfM4Yas5vk8 PBTRpoLLrWNDxLbu2tMFlk99oeQ6PxZCeCk69Aoxk17kU+IWRenxNFhFyP1hjFgQaB/8 BrrsYvdfqUcit/a9Gppx7nc1oj5QHL7MVRW596wKM/Vt9qvHjhobHACoBA/xxLUFvwJY fGvw== X-Gm-Message-State: ANhLgQ3hCS1zhVLwxq2Xs283q+zfcyJ6KhUG/1+4kuO6S68uD43+BdJy Y917yppj319Bdk2E+rVOZ3jzxd6p5ow= X-Received: by 2002:a63:d144:: with SMTP id c4mr4258643pgj.261.1584125357061; Fri, 13 Mar 2020 11:49:17 -0700 (PDT) Received: from localhost ([161.117.239.120]) by smtp.gmail.com with ESMTPSA id b3sm12727908pjq.38.2020.03.13.11.49.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Mar 2020 11:49:16 -0700 (PDT) From: Qiujun Huang To: willy@infradead.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Qiujun Huang Subject: [PATCH 1/2] radix-tree: fix kernel-doc for radix_tree_find_next_bit Date: Sat, 14 Mar 2020 02:49:08 +0800 Message-Id: <20200313184909.4560-2-hqjagain@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200313184909.4560-1-hqjagain@gmail.com> References: <20200313184909.4560-1-hqjagain@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function changed at some point, but the kernel-doc was not updated. Signed-off-by: Qiujun Huang --- lib/radix-tree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/radix-tree.c b/lib/radix-tree.c index c8fa1d274530..379137875e25 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -178,12 +178,11 @@ static inline void all_tag_set(struct radix_tree_node *node, unsigned int tag) * 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, -- 2.17.1