]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/misc/aspeed_hace: Improve readability and consistency in variable naming
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:09:34 +0000 (16:09 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commitc869da4edd7ad91975fd9887ec924ba621b3c7f8
tree56a035b9ba63f7f8c27a0fa469063c1707bcff0b
parentf05cc69c6ce0242e2eeae3cd1513454006b8f040
hw/misc/aspeed_hace: Improve readability and consistency in variable naming

Currently, users define multiple local variables within different if-statements.
To improve readability and maintain consistency in variable naming, rename the
variables accordingly.
Introduced "sg_addr" to clearly indicate the scatter-gather mode buffer address.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-3-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/misc/aspeed_hace.c