mshv: make field names descriptive in a header struct
authorMukesh R <mrathor@linux.microsoft.com>
Wed, 4 Feb 2026 20:23:28 +0000 (12:23 -0800)
committerWei Liu <wei.liu@kernel.org>
Fri, 6 Feb 2026 07:03:35 +0000 (07:03 +0000)
commit51515bfc29ed5971d4f0a98243bdc1c93fadb102
tree4097634387211245570e8b29fa02bf5567349cb3
parentafefdb2bc94571f0f9297dc129b2069942a70f4b
mshv: make field names descriptive in a header struct

When struct fields use very common names like "pages" or "type", it makes
it difficult to find uses of these fields with tools like grep, cscope,
etc when the struct is in a header file included in many places. Add
prefix mreg_ to some fields in struct mshv_mem_region to make it easier
to find them.

There is no functional change.

Signed-off-by: Mukesh R <mrathor@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/mshv_regions.c
drivers/hv/mshv_root.h
drivers/hv/mshv_root_main.c