Re: [PATCH] drm/radeon: that open brace { should be on the previous line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied.  thanks!

Alex

On Sun, Jul 23, 2023 at 11:40 PM <sunran001@xxxxxxxxxx> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
>   drivers/gpu/drm/radeon/rv770_smc.c | 36 ++++++++++--------------------
>   1 file changed, 12 insertions(+), 24 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/rv770_smc.c
> b/drivers/gpu/drm/radeon/rv770_smc.c
> index 45575c0d0a1d..09fa7f5e7c41 100644
> --- a/drivers/gpu/drm/radeon/rv770_smc.c
> +++ b/drivers/gpu/drm/radeon/rv770_smc.c
> @@ -34,8 +34,7 @@
>   #define FIRST_SMC_INT_VECT_REG 0xFFD8
>   #define FIRST_INT_VECT_S19     0xFFC0
>
> -static const u8 rv770_smc_int_vectors[] =
> -{
> +static const u8 rv770_smc_int_vectors[] = {
>         0x08, 0x10, 0x08, 0x10,
>         0x08, 0x10, 0x08, 0x10,
>         0x08, 0x10, 0x08, 0x10,
> @@ -54,8 +53,7 @@ static const u8 rv770_smc_int_vectors[] =
>         0x03, 0x51, 0x03, 0x51
>   };
>
> -static const u8 rv730_smc_int_vectors[] =
> -{
> +static const u8 rv730_smc_int_vectors[] = {
>         0x08, 0x15, 0x08, 0x15,
>         0x08, 0x15, 0x08, 0x15,
>         0x08, 0x15, 0x08, 0x15,
> @@ -74,8 +72,7 @@ static const u8 rv730_smc_int_vectors[] =
>         0x03, 0x56, 0x03, 0x56
>   };
>
> -static const u8 rv710_smc_int_vectors[] =
> -{
> +static const u8 rv710_smc_int_vectors[] = {
>         0x08, 0x04, 0x08, 0x04,
>         0x08, 0x04, 0x08, 0x04,
>         0x08, 0x04, 0x08, 0x04,
> @@ -94,8 +91,7 @@ static const u8 rv710_smc_int_vectors[] =
>         0x03, 0x51, 0x03, 0x51
>   };
>
> -static const u8 rv740_smc_int_vectors[] =
> -{
> +static const u8 rv740_smc_int_vectors[] = {
>         0x08, 0x10, 0x08, 0x10,
>         0x08, 0x10, 0x08, 0x10,
>         0x08, 0x10, 0x08, 0x10,
> @@ -114,8 +110,7 @@ static const u8 rv740_smc_int_vectors[] =
>         0x03, 0x51, 0x03, 0x51
>   };
>
> -static const u8 cedar_smc_int_vectors[] =
> -{
> +static const u8 cedar_smc_int_vectors[] = {
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
> @@ -134,8 +129,7 @@ static const u8 cedar_smc_int_vectors[] =
>         0x04, 0xF6, 0x04, 0xF6
>   };
>
> -static const u8 redwood_smc_int_vectors[] =
> -{
> +static const u8 redwood_smc_int_vectors[] = {
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
> @@ -154,8 +148,7 @@ static const u8 redwood_smc_int_vectors[] =
>         0x04, 0xF6, 0x04, 0xF6
>   };
>
> -static const u8 juniper_smc_int_vectors[] =
> -{
> +static const u8 juniper_smc_int_vectors[] = {
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
> @@ -174,8 +167,7 @@ static const u8 juniper_smc_int_vectors[] =
>         0x04, 0xF6, 0x04, 0xF6
>   };
>
> -static const u8 cypress_smc_int_vectors[] =
> -{
> +static const u8 cypress_smc_int_vectors[] = {
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
>         0x0B, 0x05, 0x0B, 0x05,
> @@ -194,8 +186,7 @@ static const u8 cypress_smc_int_vectors[] =
>         0x04, 0xF6, 0x04, 0xF6
>   };
>
> -static const u8 barts_smc_int_vectors[] =
> -{
> +static const u8 barts_smc_int_vectors[] = {
>         0x0C, 0x14, 0x0C, 0x14,
>         0x0C, 0x14, 0x0C, 0x14,
>         0x0C, 0x14, 0x0C, 0x14,
> @@ -214,8 +205,7 @@ static const u8 barts_smc_int_vectors[] =
>         0x05, 0x0A, 0x05, 0x0A
>   };
>
> -static const u8 turks_smc_int_vectors[] =
> -{
> +static const u8 turks_smc_int_vectors[] = {
>         0x0C, 0x14, 0x0C, 0x14,
>         0x0C, 0x14, 0x0C, 0x14,
>         0x0C, 0x14, 0x0C, 0x14,
> @@ -234,8 +224,7 @@ static const u8 turks_smc_int_vectors[] =
>         0x05, 0x0A, 0x05, 0x0A
>   };
>
> -static const u8 caicos_smc_int_vectors[] =
> -{
> +static const u8 caicos_smc_int_vectors[] = {
>         0x0C, 0x14, 0x0C, 0x14,
>         0x0C, 0x14, 0x0C, 0x14,
>         0x0C, 0x14, 0x0C, 0x14,
> @@ -254,8 +243,7 @@ static const u8 caicos_smc_int_vectors[] =
>         0x05, 0x0A, 0x05, 0x0A
>   };
>
> -static const u8 cayman_smc_int_vectors[] =
> -{
> +static const u8 cayman_smc_int_vectors[] = {
>         0x12, 0x05, 0x12, 0x05,
>         0x12, 0x05, 0x12, 0x05,
>         0x12, 0x05, 0x12, 0x05,




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux