Skip to content

Commit 8cbd54f

Browse files
qiwuchentorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Mike Rapoport <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent 2d3a36a commit 8cbd54f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/memblock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ enum memblock_flags {
4141

4242
/**
4343
* struct memblock_region - represents a memory region
44-
* @base: physical address of the region
44+
* @base: base address of the region
4545
* @size: size of the region
4646
* @flags: memory region attributes
4747
* @nid: NUMA node id
@@ -75,7 +75,7 @@ struct memblock_type {
7575
* struct memblock - memblock allocator metadata
7676
* @bottom_up: is bottom up direction?
7777
* @current_limit: physical address of the current allocation limit
78-
* @memory: usabe memory regions
78+
* @memory: usable memory regions
7979
* @reserved: reserved memory regions
8080
* @physmem: all physical memory
8181
*/

0 commit comments

Comments
 (0)