QEMU coding style mandates spaces for indentation. This change replaces TABs in hw/block/ and include/hw/block.
PATCH v2 1/1 QEMU coding style mandates spaces for indentation. This change replaces TABs in hw/block/ and include/hw/block.
From: Farzon Lotfi <[email protected]>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/371
Signed-off-by Farzon Lotfi <[email protected]>
--- hw/block/fdc.c | 4 +- hw/block/nand.c | 212 +++++++++++++++++++-------------------- hw/block/onenand.c | 126 +++++++++++------------ hw/block/tc58128.c | 136 ++++++++++++------------- include/hw/block/flash.h | 20 ++-- 5 files changed, 249 insertions(+), 249 deletions(-)
hw/block/fdc.c +2 -2
@@ -595,8 +595,8 @@ enum { };enum { -FD_STATE_MULTI =0x01 ,/* multi track flag */ -FD_STATE_FORMAT =0x02 ,/* format flag */ +FD_STATE_MULTI =0x01 ,/* multi track flag */ +FD_STATE_FORMAT =0x02 ,/* format flag */ };enum {
hw/block/nand.c +106 -106
262 lines not on this page · raw message
hw/block/onenand.c +63 -63
299 lines not on this page · raw message
hw/block/tc58128.c +68 -68
193 lines not on this page · raw message
include/hw/block/flash.h +10 -10
@@ -53,22 +53,22 @@ void nand_setio(DeviceState *dev, uint32_t value);uint32_t nand_getio (DeviceState *dev);uint32_t nand_getbuswidth (DeviceState *dev); -#define NAND_MFR_TOSHIBA 0x98 -#define NAND_MFR_SAMSUNG 0xec -#define NAND_MFR_FUJITSU 0x04 -#define NAND_MFR_NATIONAL 0x8f -#define NAND_MFR_RENESAS 0x07 -#define NAND_MFR_STMICRO 0x20 -#define NAND_MFR_HYNIX 0xad -#define NAND_MFR_MICRON 0x2c +#define NAND_MFR_TOSHIBA 0x98 +#define NAND_MFR_SAMSUNG 0xec +#define NAND_MFR_FUJITSU 0x04 +#define NAND_MFR_NATIONAL 0x8f +#define NAND_MFR_RENESAS 0x07 +#define NAND_MFR_STMICRO 0x20 +#define NAND_MFR_HYNIX 0xad +#define NAND_MFR_MICRON 0x2c/* onenand.c */ void *onenand_raw_otp (DeviceState *onenand_device);/* ecc.c */ typedef struct { -uint8_t cp;/* Column parity */ -uint16_t lp[2 ];/* Line parity */ +uint8_t cp;/* Column parity */ +uint16_t lp[2 ];/* Line parity */ uint16_t count; }ECCState ;
Signature · 1 line
2.32.0