From patchwork Sat Apr 30 22:49:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rebecca Mckeever X-Patchwork-Id: 12833447 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id F04B8C433EF for ; Sat, 30 Apr 2022 22:49:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 070866B0072; Sat, 30 Apr 2022 18:49:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 01FD36B0073; Sat, 30 Apr 2022 18:49:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E02B86B0074; Sat, 30 Apr 2022 18:49:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id CED576B0072 for ; Sat, 30 Apr 2022 18:49:49 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 933462909B for ; Sat, 30 Apr 2022 22:49:49 +0000 (UTC) X-FDA: 79415039298.08.122C6BF Received: from mail-oa1-f66.google.com (mail-oa1-f66.google.com [209.85.160.66]) by imf14.hostedemail.com (Postfix) with ESMTP id D9762100065 for ; Sat, 30 Apr 2022 22:49:47 +0000 (UTC) Received: by mail-oa1-f66.google.com with SMTP id 586e51a60fabf-ed8a3962f8so1307658fac.4 for ; Sat, 30 Apr 2022 15:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5n9Fz8Zsn8kPakCtiFy0jX4c/yVGfPmnfdVJ0koknD8=; b=YaVFwXh5LEvYeAB5+m7Tad7PmiN+RTdrCRvfLNFnWulLQEJRnnLal2XTv9SA6Mwri8 FtGyo2+u7RpMtKxD6cqtAcC5FTWgDdRBs3eto49Baf4OofUX36qa+mVlPF71LydVA02d kfHPGy+Ln92iHjbMelittAProdxO98VJHHXGhbB1M9skiw+ScvgX/vymH+xgpN9ZUwI8 y45rNYD7KC/4aqvqnLGAUFbdXFCn05d7+AGaV54gXTIJT7MDI+gwI9am9DnIYuFxUcRQ +UtaA/dkukq6WOrAR4X+AZRcYenwQWtTX0cOl7mq26kN3WgUEia9LNSXGlFvCGDYmJoY A/+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5n9Fz8Zsn8kPakCtiFy0jX4c/yVGfPmnfdVJ0koknD8=; b=X3SEIHcgy7M1015pa5J4XNl062BaGB2ESQBiqnrIcyv3366WOZRChSunNi1jh1lT26 YHMD28UvC9PGgnSc50RRZw6+kyXXb+V4X3PqD9vwGivQjr/tbKCXR9mXSNEfJP23xkSN 9Rtj54k0NYB5jqPn/Ee3b9LZnD+oKtx4KIzwzTEUIgPHEqcLVzYx5x+PNEN0GSscPyGd 57tLa6RDIWD2f9YVrmyYe+XTchED2wpdCXM1iVE8HynA1HeT91eRTu4GM0wvgYIiKGt/ p6ObB1+ASRD2VAnXSacVLerotvrBhb75WHn2DfQ2jEo6cx+H6B240KLFiBvd4ObLdVzp qnTA== X-Gm-Message-State: AOAM531bgNFLjm3XDJbv96nzIxLYOrbuKngMPaR4DC87L+JmbONYmGyQ U8wGcLmoR+XuCFXFX+hyzzk= X-Google-Smtp-Source: ABdhPJw0Y7gSX1YwjOGVuarx6SapQCkzTDTX19qalfZFeF7ZdoFwAHVcZTE6a4FoaLBiwg/maBt2kQ== X-Received: by 2002:a05:6871:79b:b0:d3:4039:7e7c with SMTP id o27-20020a056871079b00b000d340397e7cmr3981788oap.121.1651358988394; Sat, 30 Apr 2022 15:49:48 -0700 (PDT) Received: from bertie (072-190-140-117.res.spectrum.com. [72.190.140.117]) by smtp.gmail.com with ESMTPSA id k18-20020a9d7612000000b0060603221254sm1286001otl.36.2022.04.30.15.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 15:49:47 -0700 (PDT) From: Rebecca Mckeever To: outreachy@lists.linux.dev Cc: Mike Rapoport , linux-mm@kvack.org, linux-kernel@vger.kernel.org, David Hildenbrand , Rebecca Mckeever Subject: [PATCH v4 0/5] memblock tests: update style of comments Date: Sat, 30 Apr 2022 17:49:35 -0500 Message-Id: X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: D9762100065 X-Stat-Signature: kc9qmgdk48umueweq84r3p1crtceora4 X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YaVFwXh5; spf=pass (imf14.hostedemail.com: domain of remckee0@gmail.com designates 209.85.160.66 as permitted sender) smtp.mailfrom=remckee0@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-HE-Tag: 1651358987-180527 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: These patches update the style of comments for memblock_add_*(), memblock_reserve_*(), memblock_remove_*(), and memblock_free_*() functions to match the style of comments in tests/alloc_*.c and remove extra spaces in those comments to conform to Linux kernel coding style. This completes an item from the TODO list. Rebecca Mckeever (5): memblock tests: update style of comments for memblock_add_*() functions memblock tests: update style of comments for memblock_reserve_*() functions memblock tests: update style of comments for memblock_remove_*() functions memblock tests: update style of comments for memblock_free_*() functions memblock tests: remove completed TODO item tools/testing/memblock/TODO | 3 - tools/testing/memblock/tests/basic_api.c | 392 ++++++++++++++++------- 2 files changed, 278 insertions(+), 117 deletions(-) Reviewed-by: David Hildenbrand --- Changes v1 -> v2 PATCH 1: Add a comma Move separator outside block name Squash white space edit into PATCH 2 PATCH 1 and PATCH 2: add a colon before memory block visuals Add PATCH 3: update style of comments for memblock_remove_*() functions Add PATCH 4: update style of comments for memblock_free_*() functions v2 -> v3 Add PATCH 5: remove completed TODO item Add changes summary v3 -> v4 PATCH 1 and PATCH 2: add Reviewed-by tags PATCH 1 through PATCH 4: Correct grammar Replace references to first or second (block/region) with r1 or r2 Add references to r1 or r2 as needed for clarity ---