mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hanyu001@208suo.com
To: bp@alien8.de, tony.luck@intel.com, james.morse@arm.com,
	mchehab@kernel.org, rric@kernel.org
Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] drivers/edac: Use unsigned int instead of unsigned
Date: Fri, 14 Jul 2023 14:31:49 +0800	[thread overview]
Message-ID: <07f86d127c9ac5688d68ce8541e0e007@208suo.com> (raw)
In-Reply-To: <tencent_7104C9739158112DF43868C9F6A2C36E3E05@qq.com>

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

           reply	other threads:[~2023-07-14  6:31 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_7104C9739158112DF43868C9F6A2C36E3E05@qq.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=07f86d127c9ac5688d68ce8541e0e007@208suo.com \
    --to=hanyu001@208suo.com \
    --cc=bp@alien8.de \
    --cc=james.morse@arm.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=rric@kernel.org \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®