Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1308812ybl; Wed, 4 Dec 2019 22:17:52 -0800 (PST) X-Google-Smtp-Source: APXvYqyqgbSpSoLBsQXXrpwBOFqSERTWfxv1Qg7lm1x36lrFIYXpY1lKOF+J1ssNVe+oGCTmGjly X-Received: by 2002:a05:6830:4d9:: with SMTP id s25mr5558042otd.171.1575526672618; Wed, 04 Dec 2019 22:17:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575526672; cv=none; d=google.com; s=arc-20160816; b=nUIxCppCRr4Ux/3loxmPBtiWE/RCGjz/a5qohVWBdEs57MMnFeOyVsEmknOARIxEKt SXUDlprZ4Cr5yrba/jI96dZm3gUJMOklbuBsEhh+soWukU8SMK5UKejheN2lqFPk1SlB Ly5Ifu6EyarR575ydjgtpB9lgiKOZUqYowQqNAB60Dk+v87QpK5rjxcw7GDIEyl1/Kk3 tHfu6O3O61FhDn6NmWukWltIMkiS4t2sPEY52IwWZZl/3Pbxb8lR7MaNK7Vj1VKZD872 aa/hCVBnNFudXqgVHL0lEFv/BaIED+lLJQ+x0vy8xuyV8TV6Fbkk0R++CSz2nuGsZbCg TUCQ== 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=acB2hbSrI/zngLNzQkvvnIL+83xSTPG9++dKEaaJLZI=; b=gcrOspz37C2jB1eC5H/Rzp9MsmFTXDRJFiuXMM/zQr5jTZOeACvBAc1aQvgTbmRTOb 3lYXrNsknl9xQ+V0haTQrzWpERTKin0QYcot0wAzUwia/IxKDropVimRkKQgB28V1Lbi SQTwTaoLDdtTcZxPnUicsh7rTIQbdj0VUSyi28PhGffGRXT2Zrptv+VB5spuiDKKxDVw p9mqaLOiopFWeKZuZuvQfLeDMjBVd36MBnOw9r/i5B5vylUyS23DAMInzRm97BOTnhXQ Sn1pR6vnIbwxdX3/kgTdD2pnMVXQnVFM2jhIbwqve1GXrZFAI2WRm7+GZhMU3rkmeI1h XeBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MMfoztu/"; 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 w5si3550096oib.134.2019.12.04.22.17.39; Wed, 04 Dec 2019 22:17:52 -0800 (PST) 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="MMfoztu/"; 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 S1726183AbfLEGRJ (ORCPT + 99 others); Thu, 5 Dec 2019 01:17:09 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36757 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbfLEGRI (ORCPT ); Thu, 5 Dec 2019 01:17:08 -0500 Received: by mail-pg1-f196.google.com with SMTP id k3so443139pgc.3; Wed, 04 Dec 2019 22:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=acB2hbSrI/zngLNzQkvvnIL+83xSTPG9++dKEaaJLZI=; b=MMfoztu/Me1Emx3utyq1RxfTAtVGJV+pxoVthxAIxzySRn3ULEfJGGm/zQCjbJ+Uc0 /w+L5N/X0YRc5D1MQsR3RSK6DcNIWtmze2FRs+dodbN2YDz9y0uQj1m5SempvA6XTH8R 4Rpp78ULGV7ENXoC+ZG2Mf+iDZg08Dh1Z6yLPu2d9pry2vs/izzBdoLaUf3yngJAL0h+ FrI+rqU7V8l/AQrCUBhUYrrUolSWwRNXKdNszBVfsSb2B1y5ZMGAg5sEdolfpFIxdGg2 xH7il97FP/96+E4qqOpChByhMLjhTBgYCKTDUza1d0/SPLdnNAHg+1IOJsUSHov1SVGd FXBw== 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=acB2hbSrI/zngLNzQkvvnIL+83xSTPG9++dKEaaJLZI=; b=DSTYwQ1zhNVAh0uZA7kaVZqDDrllzGIhByrn0yDWwfpQXH5iDSx1XrmJzVXab3w4CV eKwNJ6tTRaI1oMZxIfau+AnfpwtnjUmpqSXwDC0e0+6lRN/qYeWPQ31y0dvwyb5vYYLp gpUaa0Z7sq9Ob5eJ1oNuD1doLmlsDWoA+vnkHEe0sq48blIQM8AoAy9REqdI4s2zWXwb 1S16DwNMSXiBOw7FBxirPZ2dW1i7j944hp5wZetGfth05/yNk4HwtXXYp/7lqww4xIqi +msoV1jbCGSCFHN/9tu5aoYxtF1bIqWI8kTOaGJCiWPn6yO2RlYawUSfJU84nh2huZg+ O4HA== X-Gm-Message-State: APjAAAUmw31pku0bMzoAMiam9tSPK3PCnNQZL8b0betWs3i/T8JDMI0n zliyakysX2cOinjXoBEo1Xw= X-Received: by 2002:a62:486:: with SMTP id 128mr7409735pfe.236.1575526627809; Wed, 04 Dec 2019 22:17:07 -0800 (PST) Received: from localhost.localdomain ([2402:3a80:cdb:3f28:3984:ab1:9b44:803]) by smtp.gmail.com with ESMTPSA id s27sm10564375pfd.88.2019.12.04.22.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 22:17:07 -0800 (PST) From: madhuparnabhowmik04@gmail.com To: paulmck@kernel.org, josh@joshtriplett.org, rostedt@goodmis.org, oel@joelfernandes.org Cc: linux-kernel@vger.kernel.org, rcu@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Madhuparna Bhowmik Subject: [PATCH 3/3] include: linux: rculist_nulls: Add docbook comments Date: Thu, 5 Dec 2019 11:46:49 +0530 Message-Id: <20191205061649.25339-1-madhuparnabhowmik04@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Madhuparna Bhowmik This patch adds docbook comment headers for hlist_nulls_first_rcu and hlist_nulls_next_rcu in rculist_nulls.h. Signed-off-by: Madhuparna Bhowmik --- include/linux/rculist_nulls.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/linux/rculist_nulls.h b/include/linux/rculist_nulls.h index bc8206a8f30e..111a90e98ad3 100644 --- a/include/linux/rculist_nulls.h +++ b/include/linux/rculist_nulls.h @@ -38,9 +38,17 @@ static inline void hlist_nulls_del_init_rcu(struct hlist_nulls_node *n) } } +/** + * hlist_nulls_first_rcu - returns the first element of the hash list. + * @head: the head of the list. + */ #define hlist_nulls_first_rcu(head) \ (*((struct hlist_nulls_node __rcu __force **)&(head)->first)) +/** + * hlist_nulls_next_rcu - returns the element of the list after @node. + * @node: element of the list. + */ #define hlist_nulls_next_rcu(node) \ (*((struct hlist_nulls_node __rcu __force **)&(node)->next)) -- 2.17.1