[<prev] [next>] [day] [month] [year] [list]
Message-ID: <07f86d127c9ac5688d68ce8541e0e007@208suo.com>
Date: Fri, 14 Jul 2023 14:31:49 +0800
From: hanyu001@...suo.com
To: 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] drivers/edac: Use unsigned int instead of unsigned
Fix the checkpatch.pl issue:
./drivers/edac/ppc4xx_edac.c:199: WARNING: Prefer 'unsigned int' to bare
use of 'unsigned'
./drivers/edac/ppc4xx_edac.c:200: WARNING: Prefer 'unsigned int' to bare
use of 'unsigned'
Signed-off-by: maqimei <2433033762@...com>
---
drivers/edac/ppc4xx_edac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index 046969b..16dd9ff 100644
--- a/drivers/edac/ppc4xx_edac.c
+++ b/drivers/edac/ppc4xx_edac.c
@@ -196,8 +196,8 @@ struct ppc4xx_ecc_status {
* TODO: The row and channel parameters likely need to be dynamically
* set based on the aforementioned variant controller realizations.
*/
-static const unsigned ppc4xx_edac_nr_csrows = 2;
-static const unsigned ppc4xx_edac_nr_chans = 1;
+static const unsigned int ppc4xx_edac_nr_csrows = 2;
+static const unsigned int ppc4xx_edac_nr_chans = 1;
/*
* Strings associated with PLB master IDs capable of being posted in
Powered by blists - more mailing lists