OSDN Git Service

hw/sd/sdcard: Rename Write Protect Group variables
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 28 Jul 2021 17:42:24 +0000 (19:42 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 4 Jan 2022 07:50:27 +0000 (08:50 +0100)
commit6947feca588670a0443d3e8892e6e20c6acb491c
tree75c00f702466101d7004126fff18a42ad9ba07b3
parentb5a3d8bc9146ba22a25116cb748c97341bf99737
hw/sd/sdcard: Rename Write Protect Group variables

'wp_groups' holds a bitmap, rename it as 'wp_group_bmap'.
'wpgrps_size' is the bitmap size (in bits), rename it as
'wp_group_bits'.

Patch created mechanically using:

  $ sed -i -e s/wp_groups/wp_group_bmap/ \
           -e s/wpgrps_size/wp_group_bits/ hw/sd/sd.c

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210728181728.2012952-4-f4bug@amsat.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
hw/sd/sd.c