lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 14 Jul 2023 12:59:41 +0800
From:   shijie001@...suo.com
To:     alexander.deucher@....com, christian.koenig@....com,
        Xinhui.Pan@....com, airlied@...il.com, daniel@...ll.ch
Cc:     amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH] drm/radeon/dpm: ERROR: open brace '{' following enum go on
 the same line

Fix four occurrences of the checkpatch.pl error:
ERROR: open brace '{' following enum go on the same line

Signed-off-by: Jie Shi <shijie001@...suo.com>
---
  drivers/gpu/drm/radeon/ni_dpm.h | 12 ++++--------
  1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/radeon/ni_dpm.h 
b/drivers/gpu/drm/radeon/ni_dpm.h
index 74e301936906..4e3e7303e035 100644
--- a/drivers/gpu/drm/radeon/ni_dpm.h
+++ b/drivers/gpu/drm/radeon/ni_dpm.h
@@ -59,8 +59,7 @@ struct ni_mc_reg_table {

  #define NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT 2

-enum ni_dc_cac_level
-{
+enum ni_dc_cac_level {
      NISLANDS_DCCAC_LEVEL_0 = 0,
      NISLANDS_DCCAC_LEVEL_1,
      NISLANDS_DCCAC_LEVEL_2,
@@ -72,8 +71,7 @@ enum ni_dc_cac_level
      NISLANDS_DCCAC_MAX_LEVELS
  };

-struct ni_leakage_coeffients
-{
+struct ni_leakage_coeffients {
      u32 at;
      u32 bt;
      u32 av;
@@ -83,8 +81,7 @@ struct ni_leakage_coeffients
      u32 t_ref;
  };

-struct ni_cac_data
-{
+struct ni_cac_data {
      struct ni_leakage_coeffients leakage_coefficients;
      u32 i_leakage;
      s32 leakage_minimum_temperature;
@@ -100,8 +97,7 @@ struct ni_cac_data
      u8 lts_truncate_n;
  };

-struct ni_cac_weights
-{
+struct ni_cac_weights {
      u32 weight_tcp_sig0;
      u32 weight_tcp_sig1;
      u32 weight_ta_sig;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ