Re: [PATCH 12/22] hw/sd: sd.h: Cosmetic change of using spaces

2021-01-13 Thread Alistair Francis
On Thu, Dec 31, 2020 at 3:46 AM Bin Meng  wrote:
>
> From: Bin Meng 
>
> QEMU conding convention prefers spaces over tabs.
>
> Signed-off-by: Bin Meng 

Reviewed-by: Alistair Francis 

Alistair

> ---
>
>  include/hw/sd/sd.h | 42 +-
>  1 file changed, 21 insertions(+), 21 deletions(-)
>
> diff --git a/include/hw/sd/sd.h b/include/hw/sd/sd.h
> index 59d108d453..05ef9b73e5 100644
> --- a/include/hw/sd/sd.h
> +++ b/include/hw/sd/sd.h
> @@ -33,27 +33,27 @@
>  #include "hw/qdev-core.h"
>  #include "qom/object.h"
>
> -#define OUT_OF_RANGE   (1 << 31)
> -#define ADDRESS_ERROR  (1 << 30)
> -#define BLOCK_LEN_ERROR(1 << 29)
> -#define ERASE_SEQ_ERROR(1 << 28)
> -#define ERASE_PARAM(1 << 27)
> -#define WP_VIOLATION   (1 << 26)
> -#define CARD_IS_LOCKED (1 << 25)
> -#define LOCK_UNLOCK_FAILED (1 << 24)
> -#define COM_CRC_ERROR  (1 << 23)
> -#define ILLEGAL_COMMAND(1 << 22)
> -#define CARD_ECC_FAILED(1 << 21)
> -#define CC_ERROR   (1 << 20)
> -#define SD_ERROR   (1 << 19)
> -#define CID_CSD_OVERWRITE  (1 << 16)
> -#define WP_ERASE_SKIP  (1 << 15)
> -#define CARD_ECC_DISABLED  (1 << 14)
> -#define ERASE_RESET(1 << 13)
> -#define CURRENT_STATE  (7 << 9)
> -#define READY_FOR_DATA (1 << 8)
> -#define APP_CMD(1 << 5)
> -#define AKE_SEQ_ERROR  (1 << 3)
> +#define OUT_OF_RANGE(1 << 31)
> +#define ADDRESS_ERROR   (1 << 30)
> +#define BLOCK_LEN_ERROR (1 << 29)
> +#define ERASE_SEQ_ERROR (1 << 28)
> +#define ERASE_PARAM (1 << 27)
> +#define WP_VIOLATION(1 << 26)
> +#define CARD_IS_LOCKED  (1 << 25)
> +#define LOCK_UNLOCK_FAILED  (1 << 24)
> +#define COM_CRC_ERROR   (1 << 23)
> +#define ILLEGAL_COMMAND (1 << 22)
> +#define CARD_ECC_FAILED (1 << 21)
> +#define CC_ERROR(1 << 20)
> +#define SD_ERROR(1 << 19)
> +#define CID_CSD_OVERWRITE   (1 << 16)
> +#define WP_ERASE_SKIP   (1 << 15)
> +#define CARD_ECC_DISABLED   (1 << 14)
> +#define ERASE_RESET (1 << 13)
> +#define CURRENT_STATE   (7 << 9)
> +#define READY_FOR_DATA  (1 << 8)
> +#define APP_CMD (1 << 5)
> +#define AKE_SEQ_ERROR   (1 << 3)
>
>  enum SDPhySpecificationVersion {
>  SD_PHY_SPECv1_10_VERS = 1,
> --
> 2.25.1
>
>



[PATCH 12/22] hw/sd: sd.h: Cosmetic change of using spaces

2020-12-31 Thread Bin Meng
From: Bin Meng 

QEMU conding convention prefers spaces over tabs.

Signed-off-by: Bin Meng 
---

 include/hw/sd/sd.h | 42 +-
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/include/hw/sd/sd.h b/include/hw/sd/sd.h
index 59d108d453..05ef9b73e5 100644
--- a/include/hw/sd/sd.h
+++ b/include/hw/sd/sd.h
@@ -33,27 +33,27 @@
 #include "hw/qdev-core.h"
 #include "qom/object.h"
 
-#define OUT_OF_RANGE   (1 << 31)
-#define ADDRESS_ERROR  (1 << 30)
-#define BLOCK_LEN_ERROR(1 << 29)
-#define ERASE_SEQ_ERROR(1 << 28)
-#define ERASE_PARAM(1 << 27)
-#define WP_VIOLATION   (1 << 26)
-#define CARD_IS_LOCKED (1 << 25)
-#define LOCK_UNLOCK_FAILED (1 << 24)
-#define COM_CRC_ERROR  (1 << 23)
-#define ILLEGAL_COMMAND(1 << 22)
-#define CARD_ECC_FAILED(1 << 21)
-#define CC_ERROR   (1 << 20)
-#define SD_ERROR   (1 << 19)
-#define CID_CSD_OVERWRITE  (1 << 16)
-#define WP_ERASE_SKIP  (1 << 15)
-#define CARD_ECC_DISABLED  (1 << 14)
-#define ERASE_RESET(1 << 13)
-#define CURRENT_STATE  (7 << 9)
-#define READY_FOR_DATA (1 << 8)
-#define APP_CMD(1 << 5)
-#define AKE_SEQ_ERROR  (1 << 3)
+#define OUT_OF_RANGE(1 << 31)
+#define ADDRESS_ERROR   (1 << 30)
+#define BLOCK_LEN_ERROR (1 << 29)
+#define ERASE_SEQ_ERROR (1 << 28)
+#define ERASE_PARAM (1 << 27)
+#define WP_VIOLATION(1 << 26)
+#define CARD_IS_LOCKED  (1 << 25)
+#define LOCK_UNLOCK_FAILED  (1 << 24)
+#define COM_CRC_ERROR   (1 << 23)
+#define ILLEGAL_COMMAND (1 << 22)
+#define CARD_ECC_FAILED (1 << 21)
+#define CC_ERROR(1 << 20)
+#define SD_ERROR(1 << 19)
+#define CID_CSD_OVERWRITE   (1 << 16)
+#define WP_ERASE_SKIP   (1 << 15)
+#define CARD_ECC_DISABLED   (1 << 14)
+#define ERASE_RESET (1 << 13)
+#define CURRENT_STATE   (7 << 9)
+#define READY_FOR_DATA  (1 << 8)
+#define APP_CMD (1 << 5)
+#define AKE_SEQ_ERROR   (1 << 3)
 
 enum SDPhySpecificationVersion {
 SD_PHY_SPECv1_10_VERS = 1,
-- 
2.25.1