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]
Date:   Fri, 14 Jul 2023 10:32:56 +0800
From:   hanyu001@...suo.com
To:     rric@...nel.org, mchehab@...nel.org, james.morse@....com,
        tony.luck@...el.com, bp@...en8.de, yazen.ghannam@....com
Cc:     linux-kernel@...r.kernel.org, linux-edac@...r.kernel.org
Subject: [PATCH] drivers: edac 'unsigned int' to bare use of 'unsigned'

Use of 'unsigned int' instead of bare use of 'unsigned'. Fix this for
edac_mc*, ghes and the i5100 driver as reported by checkpatch.pl.

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

Signed-off-byC: 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 ddb9bf3..62b7611 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2109,7 +2109,7 @@ static int ddr2_cs_size(unsigned i, bool 
dct_width)
  }

  static int k8_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
-                  unsigned cs_mode, int cs_mask_nr)
+                  unsigned int  cs_mode, int cs_mask_nr)
  {
      u32 dclr = dct ? pvt->dclr1 : pvt->dclr0;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ