Skip to contentSkip to conversation

drivers/edac: Use unsigned int instead of unsigned

PATCH New [email protected] 1 participant 1 message Jul 14, 2023 1 message not in the archive EDAC-core

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 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'

---
 drivers/edac/ppc4xx_edac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/ppc4xx_edac.c +2 -2
index 046969b..16dd9ff 100644
@@ -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