]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/memblock.h: fix minor typo and unclear comment
authorchenqiwu <chenqiwu@xiaomi.com>
Wed, 3 Jun 2020 23:03:28 +0000 (16:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jun 2020 03:09:49 +0000 (20:09 -0700)
commit1dc41bed4cd1f7787d446bd5dfb40ff1cf2c5261
treebb3b39dcf2684773afd92a1e2c276e73d0b292ce
parent39cca3af26fd9061d3dd7c23c6235b34f998bab7
include/linux/memblock.h: fix minor typo and unclear comment

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 <chenqiwu@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Link: http://lkml.kernel.org/r/1588846952-32166-1-git-send-email-qiwuchen55@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memblock.h