Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp335282imm; Tue, 9 Oct 2018 19:17:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV600EokyfUDmKgrDFUr7ctMQzrd43St0RvmV/oMVmh/53zhfjKF0CvUplBRg/s+VvqyByfcK X-Received: by 2002:a17:902:59dc:: with SMTP id d28-v6mr31075456plj.116.1539137845865; Tue, 09 Oct 2018 19:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539137845; cv=none; d=google.com; s=arc-20160816; b=rRXjROHbyCiFKEOC/8bNxHLLgR5EBcmkNlLA9OB39J4f3bOsvBFlQEqiyRMjCYOIxw BRoQMN9d6as6NiANmbfuu8M6ZjevNn7gv1DgrwIGV7kdFHiFi2/9U3khtk8MwmoYlHQg cBo8pH2o1P5qrVRwiqkldFAC5I+TrY+RtpCt5Md2+pe5qsfGJlSDNLkJqUIACHDlpX9m CCVKC30euZmJSttuH9M6IEz2p/InOZqxyR7KWoz02LwZ6jzVgU5yJJ6y/w7/ooNRoH6s dt7HhjFh0oRFYM1KtOtE1lJKVdVx8Xp3ti+x7PQWmsfM1yZ0d+vRZdzlpBiM3S/Y/Hiq iRQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=swzdF5gQLX9lUsKuPNJqKKcFN3bk29lT9GenMhcfUCI=; b=q3skAY8coR2bZt3/Dh+P7P4DT636iU9zD5/zQTfxNhiaWQbwCMzyHzeOnqntHBiRUp ETKCs1V4GYc9OrneFlwf26D9ZvcGwCtrvnAyqXTC2qdWvwAMUq4ly3YqOx+w056pYlNF QmFY9CVJ4T+nqPL9wKx+7NqZMhU8DMsfCdIdmlP8a/KoychOvhCEapx12GsxoKl0ppRh fheB0e/BsR9+jIkQdFcbALsuBhXARqE84tG2ncFXIzu4DYkMlGm7dVIaMdeN5jEiM+PR qdG6kf3JpEaqmadqVsVDlyBzzeSe4fkvz5vf0/CCPWIUTygtW6mGq24fULAzdoVhp8SI ERdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LJTV2GMA; 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 w14-v6si22828210plp.183.2018.10.09.19.17.09; Tue, 09 Oct 2018 19:17:25 -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=LJTV2GMA; 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 S1727164AbeJJJdw (ORCPT + 99 others); Wed, 10 Oct 2018 05:33:52 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:37848 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726932AbeJJJdv (ORCPT ); Wed, 10 Oct 2018 05:33:51 -0400 Received: by mail-pl1-f196.google.com with SMTP id az3-v6so1732347plb.4 for ; Tue, 09 Oct 2018 19:14:00 -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; bh=swzdF5gQLX9lUsKuPNJqKKcFN3bk29lT9GenMhcfUCI=; b=LJTV2GMAME5i2OORyGmQHeYtl8c+PmNtQotnrSBsRNjU3qagzETt8HkeTUBsijY4uo c/gClD2Kgj0vxyeLxBzUs4AMb3ZdR2MfZsaMyl+vwgyH/GwJ3uFBecLXhtEQ8iEP16yq H4grTVHCxGM0uni9SQ5D2Sdn+U1PtbfgX2FwESQwU5ShzZEjK//uRXiYpcOypH7JC1uW RI+z79KzqUkSUNKgVEnn4C0fvEMXfmeTsCOPY8OlN4mgcJV2ZljZaPhxe0hrw8H2xMg4 ShJ5lE0Lfpx+hSLlm3kmKGVHgeejHrBEFJTTolhEetGDDhaPeZvFlYboN8kmOjCsGp7+ 7Xbg== 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; bh=swzdF5gQLX9lUsKuPNJqKKcFN3bk29lT9GenMhcfUCI=; b=G7GzW2OQ27agvoqB4Sf/svpon6FiCnEEYXy9FZYIP/2H8dGoemiY6ps6MaovoWGFyr oCNS3GlXCRVvfgVR8K2OUtalMnK2/dPJ9S+0SvoWcIZM0J1LNmmrC4MbuW1ccfL2l25h 357t4MMbF/OoX70IKNgMaKfzJRCxmyKSfJoHTO3L2fnIWOZ8fJgGe5syOAw2YCqQMp40 7jRQcEH1v366ggtAXPaHASNzNGUm7Lzs+knQbIozmKKBbmaxLM9kzXdRGf9FlUaOZ31K PNgl95osDl4l8ndp0BYfHI+Wq6vcYEWOsCB2ivTlJyE8ctVKczBV9kHrHqMZf4OGfjwX pcuQ== X-Gm-Message-State: ABuFfogvGuQ7aqxeZ8SJfSCkfg6WwCNATUywXBlxOjnHt5Sfpgnxx2vk MnZ1saYwMjzTgalZZ2qnsaA= X-Received: by 2002:a17:902:b598:: with SMTP id a24-v6mr30865258pls.40.1539137640035; Tue, 09 Oct 2018 19:14:00 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id t26-v6sm31749417pfa.158.2018.10.09.19.13.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 19:13:59 -0700 (PDT) From: Wei Yang To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, Wei Yang Subject: [PATCH] lib/rbtree.c: fix typo in comment of rb_insert_augmented() Date: Wed, 10 Oct 2018 10:13:44 +0800 Message-Id: <20181010021344.60433-1-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function name in the comment is not correct. Signed-off-by: Wei Yang --- include/linux/rbtree_augmented.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/rbtree_augmented.h b/include/linux/rbtree_augmented.h index af8a61be2d8d..9510c677ac70 100644 --- a/include/linux/rbtree_augmented.h +++ b/include/linux/rbtree_augmented.h @@ -51,8 +51,8 @@ extern void __rb_insert_augmented(struct rb_node *node, * * On insertion, the user must update the augmented information on the path * leading to the inserted node, then call rb_link_node() as usual and - * rb_augment_inserted() instead of the usual rb_insert_color() call. - * If rb_augment_inserted() rebalances the rbtree, it will callback into + * rb_insert_augmented() instead of the usual rb_insert_color() call. + * If rb_insert_augmented() rebalances the rbtree, it will callback into * a user provided function to update the augmented information on the * affected subtrees. */ -- 2.15.1