All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shiju Jose <shiju.jose@huawei.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Dan Carpenter <dan.carpenter@linaro.org>,
	"oe-kbuild@lists.linux.dev" <oe-kbuild@lists.linux.dev>,
	"lkp@intel.com" <lkp@intel.com>,
	"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
	"Jonathan Cameron" <jonathan.cameron@huawei.com>
Subject: RE: [bp:edac-cxl 2/5] drivers/edac/edac_device.c:705 edac_dev_register() error: uninitialized symbol 'ret'.
Date: Thu, 27 Feb 2025 11:57:40 +0000	[thread overview]
Message-ID: <dce8f7b973ff484c8a854fbb093a9e4f@huawei.com> (raw)
In-Reply-To: <20250227103711.GAZ8BAV21Q5hVg_5uC@fat_crate.local>

>-----Original Message-----
>From: Borislav Petkov <bp@alien8.de>
>Sent: 27 February 2025 10:37
>To: Shiju Jose <shiju.jose@huawei.com>
>Cc: Dan Carpenter <dan.carpenter@linaro.org>; oe-kbuild@lists.linux.dev;
>lkp@intel.com; oe-kbuild-all@lists.linux.dev; Jonathan Cameron
><jonathan.cameron@huawei.com>
>Subject: Re: [bp:edac-cxl 2/5] drivers/edac/edac_device.c:705
>edac_dev_register() error: uninitialized symbol 'ret'.
>
>On Tue, Feb 25, 2025 at 06:27:42PM +0000, Shiju Jose wrote:
>> Tested fine in the edac-cxl2 branch + following fix for the
>> allmodconfig-x86_64-clang build error reported in the other thread.
>>
>> diff --git a/drivers/edac/mem_repair.c b/drivers/edac/mem_repair.c
>> index cbe5a722715d..6f4a9dfcd7da 100755
>> --- a/drivers/edac/mem_repair.c
>> +++ b/drivers/edac/mem_repair.c
>> @@ -322,8 +322,8 @@ static int mem_repair_create_desc(struct device *dev,
>>                 return -ENOMEM;
>>
>>         for (i = 0; i < MR_MAX_ATTRS; i++) {
>> -               memcpy(&ctx->mem_repair_dev_attr[i].dev_attr,
>> -                      &dev_attr[i], sizeof(dev_attr[i]));
>> +               memcpy(&ctx->mem_repair_dev_attr[i], &dev_attr[i],
>> +                      sizeof(dev_attr[i]));
>>                 ctx->mem_repair_attrs[i] =
>>                         &ctx->mem_repair_dev_attr[i].dev_attr.attr;
>>         }
>>
>
>All fixes merged and branch pushed out.

Thanks Boris. Looks like the above fix in the drivers/edac/mem_repair.c is not yet in the
edac-cxl2 branch.

Thanks,
Shiju 
>
>Thx.
>
>--
>Regards/Gruss,
>    Boris.
>
>https://people.kernel.org/tglx/notes-about-netiquette

  reply	other threads:[~2025-02-27 11:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25  7:46 [bp:edac-cxl 2/5] drivers/edac/edac_device.c:705 edac_dev_register() error: uninitialized symbol 'ret' Dan Carpenter
2025-02-25 14:54 ` Borislav Petkov
2025-02-25 18:27   ` Shiju Jose
2025-02-27 10:37     ` Borislav Petkov
2025-02-27 11:57       ` Shiju Jose [this message]
2025-02-27 12:07         ` Borislav Petkov
  -- strict thread matches above, loose matches on Subject: below --
2025-02-25  2:35 kernel test robot

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=dce8f7b973ff484c8a854fbb093a9e4f@huawei.com \
    --to=shiju.jose@huawei.com \
    --cc=bp@alien8.de \
    --cc=dan.carpenter@linaro.org \
    --cc=jonathan.cameron@huawei.com \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oe-kbuild@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.