From patchwork Thu May 7 10:22:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chenqiwu X-Patchwork-Id: 11532983 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B1FF15AB 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 4801721473 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 4801721473 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) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 0C0C9900002; Thu, 7 May 2020 06:22:39 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org 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-Original-To: linux-mm@kvack.org 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-Spam-Summary: 2,0,0,0dcf7941371a91c7,d41d8cd98f00b204,qiwuchen55@gmail.com,,RULES_HIT:41:355:379:541:800:960:973:982:988:989:1260:1345:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3867:3870:3871:3872:5007:6261:6653:7576:7875:8603:9413:10004:11026:11658:11914:12296:12297:12517:12519:12555:12679:12895:13069:13311:13357:14093:14096:14181:14384:14394:14721:21080:21444:21451:21627:21666:21972:30003:30054:30070:30080,0,RBL:209.85.215.194:@gmail.com:.lbl8.mailshell.net-66.100.201.100 62.18.0.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none 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 Reviewed-by: Mike Rapoport --- 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 */