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>] [day] [month] [year] [list]
Message-ID: <68c3d51c4cbb17442ea522192ac1aaf2@208suo.com>
Date:   Fri, 14 Jul 2023 11:13:47 +0800
From:   hanyu001@...suo.com
To:     yazen.ghannam@....com, bp@...en8.de, tony.luck@...el.com,
        james.morse@....com, mchehab@...nel.org, rric@...nel.org
Cc:     linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] rivers: edac Change 'unsigned' to 'unsigned int'


Fixes checkpatch.pl warning:

./drivers/edac/amd64_edac.c:2099: WARNING: Prefer 'unsigned int' to bare 
use of 'unsigned'

Signed-off-by: maqimei <2433033762@...com>
---
  drivers/edac/amd64_edac.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 5d2c9bb..d99828d 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2096,7 +2096,7 @@ static void k8_map_sysaddr_to_csrow(struct 
mem_ctl_info *mci, u64 sys_addr,

  static int ddr2_cs_size(unsigned int i, bool dct_width)
  {
-    unsigned shift = 0;
+    unsigned int shift = 0;

      if (i <= 2)
          shift = i;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ