[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dfb5b4cd-935c-445b-aaa7-bcce962a143d@gmail.com>
Date: Mon, 27 Nov 2023 23:53:02 +0530
From: Abhinav Singh <singhabhinav9051571833@...il.com>
To: Borislav Petkov <bp@...en8.de>
Cc: tony.luck@...el.com, qiuxu.zhuo@...el.com, james.morse@....com,
mchehab@...nel.org, rric@...nel.org, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH] driver : edac : Fix warning using plain integer as NULL
On 11/27/23 22:44, Borislav Petkov wrote:
> On Fri, Nov 10, 2023 at 02:51:57AM +0530, Abhinav Singh wrote:
>> Sparse static analysis tools generate a warning with this message
>> "Using plain integer as NULL pointer". In this case this warning is
>> being shown because we are trying to initialize pointer to NULL using
>> integer value 0.
>
> And that is a problem because?
>
Hello, thanks for reviewing this. As of now this is only a warning issue
in kernel. I saw this post by linus
https://www.spinics.net/lists/linux-sparse/msg10066.html and thought of
submitting a patch. Also a similar patch of mine got accepted
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2560740.html,
so thought about opening this one as well.
Thank You,
Abhinav Singh
Powered by blists - more mailing lists