From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AF64C38A24 for ; Thu, 7 May 2020 10:22:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4748E206DB for ; Thu, 7 May 2020 10:22:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iv683A+g" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4748E206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 11054900003; Thu, 7 May 2020 06:22:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0C0C9900002; Thu, 7 May 2020 06:22:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F186F900003; Thu, 7 May 2020 06:22:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0178.hostedemail.com [216.40.44.178]) by kanga.kvack.org (Postfix) with ESMTP id D85B0900002 for ; Thu, 7 May 2020 06:22:38 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 9A92D824559C for ; Thu, 7 May 2020 10:22:38 +0000 (UTC) X-FDA: 76789533996.29.trade27_8b76167a2bc3d X-HE-Tag: trade27_8b76167a2bc3d X-Filterd-Recvd-Size: 3885 Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Thu, 7 May 2020 10:22:38 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id 207so2640264pgc.6 for ; Thu, 07 May 2020 03:22:38 -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=mFCyBTZtRnXmR8mMOILhJvhQ7G4Evl+5pTKmn3dm3Ds=; b=iv683A+gBSDMrgmFdqsvBqEC9p4RkbMth0AktFFsQuiC9mzOeL04m+m0IvWwR8fdIX 0noVVGEluNwODaCUAIxGSZS48NrYRRnvOqrt5V6tIkKCawnigQwsTxYbIQ/7uAco1H4k OJXl6nIK6zIEsWPFb5RQUXUScg5YkOkDXy7zounPIi6VqTkkePnpqBkwkG264DPyt194 O8DsHBnFC1SdC66/wrS9USzXAHUUtJxdnoNcOtLf19/zHhdLUqJFt3Kssi/bvXQPb80G SuuFxngY5msAkOxLhADh4OESF14uBTQjU4FpJFuom2Z9hsOdZIwPY5sh9C2LLmAHjwHM l6+g== 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=mFCyBTZtRnXmR8mMOILhJvhQ7G4Evl+5pTKmn3dm3Ds=; b=b9G1StZgUfDZ+h9W9VLpt0BklKgfdr+7SsnjaXIzQUK2B7Og3IskVb9O9gIaaD8S6p kiqtpMtEIXsXpVZY9IMKpXuENY6OOWdBKSl7R+ORCePiAiFCV5IoTvGy2nmuMvx+b3MF Ex3oRIS5aK2+cLSqbr4ZC050lj2RJA7XISxFDj0Bs43lvqT4Kq3aK+8VFkfnSH+7Oh99 1juFggniJdfLfKWnFd+lpAXaELXCuBio3NA4RzHniWTL+5R/wPhsYb6DPPFD6/qDC4PV C4UmnU29+2ErvjW42dbAAA/ri1W5knRafcARQsFdRRKRQJrOn12LqD/vhuxaK+m5BHfG +HBw== X-Gm-Message-State: AGi0PuZrkVDfF8XQRa1UVirrKVoST+ykOPCdf4CaCS1kPR0eZCkoT7e0 86i7PSKCEO4pCY9cRKdJvjk= X-Google-Smtp-Source: APiQypK04MS0dDJIdTjE+zZjhuyyCYH1/JNtrenuLTuoAfRiyu1jNI7cyXA/QUgV/pbVQaMdY7Rx3Q== X-Received: by 2002:a63:1d11:: with SMTP id d17mr829524pgd.38.1588846957318; Thu, 07 May 2020 03:22:37 -0700 (PDT) Received: from localhost ([43.224.245.179]) by smtp.gmail.com with ESMTPSA id h13sm3356492pgm.69.2020.05.07.03.22.36 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 07 May 2020 03:22:36 -0700 (PDT) From: qiwuchen55@gmail.com To: rppt@linux.ibm.com, akpm@linux-foundation.org Cc: linux-mm@kvack.org, chenqiwu Subject: [PATCH] mm: memblock: fix minor typo and unclear comment Date: Thu, 7 May 2020 18:22:32 +0800 Message-Id: <1588846952-32166-1-git-send-email-qiwuchen55@gmail.com> X-Mailer: git-send-email 1.9.1 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: From: chenqiwu Fix a minor typo "usabe->usable" for the current discription of member variable "memory" in struct memblock. BTW, I think it's unclear the member variable "base" in struct memblock_type is currently described as the physical address of memory region, change it to base address of the region is clearer since the variable is decorated as phys_addr_t. Signed-off-by: chenqiwu --- include/linux/memblock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/memblock.h index 6bc37a7..b594e0b 100644 --- a/include/linux/memblock.h +++ b/include/linux/memblock.h @@ -41,7 +41,7 @@ enum memblock_flags { /** * struct memblock_region - represents a memory region - * @base: physical address of the region + * @base: base address of the region * @size: size of the region * @flags: memory region attributes * @nid: NUMA node id @@ -75,7 +75,7 @@ struct memblock_type { * struct memblock - memblock allocator metadata * @bottom_up: is bottom up direction? * @current_limit: physical address of the current allocation limit - * @memory: usabe memory regions + * @memory: usable memory regions * @reserved: reserved memory regions * @physmem: all physical memory */ -- 1.9.1