From: hanyu001@208suo.com
To: yazen.ghannam@amd.com, 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] rivers: edac Change 'unsigned' to 'unsigned int'
Date: Fri, 14 Jul 2023 11:13:47 +0800 [thread overview]
Message-ID: <68c3d51c4cbb17442ea522192ac1aaf2@208suo.com> (raw)
In-Reply-To: <tencent_2B68DB16B103727E0949749158313DF42F05@qq.com>
Fixes checkpatch.pl warning:
./drivers/edac/amd64_edac.c:2099: WARNING: Prefer 'unsigned int' to bare
use of 'unsigned'
Signed-off-by: maqimei <2433033762@qq.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 5d2c9bb..d99828d 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2096,7 +2096,7 @@ static void k8_map_sysaddr_to_csrow(struct
mem_ctl_info *mci, u64 sys_addr,
static int ddr2_cs_size(unsigned int i, bool dct_width)
{
- unsigned shift = 0;
+ unsigned int shift = 0;
if (i <= 2)
shift = i;
parent reply other threads:[~2023-07-14 3:13 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_2B68DB16B103727E0949749158313DF42F05@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=68c3d51c4cbb17442ea522192ac1aaf2@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 \
--cc=yazen.ghannam@amd.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®