mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drivers/edac: Use unsigned int instead of unsigned
       [not found] <tencent_7104C9739158112DF43868C9F6A2C36E3E05@qq.com>
@ 2023-07-14  6:31 ` hanyu001
  0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-14  6:31 UTC (permalink / raw)
  To: bp, tony.luck, james.morse, mchehab, rric; +Cc: linux-edac, linux-kernel

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@qq.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-14  6:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_7104C9739158112DF43868C9F6A2C36E3E05@qq.com>
2023-07-14  6:31 ` [PATCH] drivers/edac: Use unsigned int instead of unsigned hanyu001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®