All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hyeonggon Yoo <42.hyeyoo@gmail.com>
To: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: Performing pointer arithmetic on a null pointer?
Date: Fri, 28 May 2021 00:56:30 +0900	[thread overview]
Message-ID: <20210527155630.GA139168@hyeyoo> (raw)
In-Reply-To: <CAKXUXMyNDN+Jvou61ZZB+u1=yWj6tAXa94NTTadqwezLV8OS4A@mail.gmail.com>

On Thu, May 27, 2021 at 05:27:06PM +0200, Lukas Bulwahn wrote:
> Hyeonggon,
> 
> there is a patch series from Arnd Bergmann, a well-known kernel
> developer and janitor, hanging around here:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=warnings-5.10-2
> 

Oh, Arnd Bergmann was already working on it!

> It includes a patch to address this issue:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?h=warnings-5.10-2&id=cda293a8ee8a2bc763c33828cbc9ff21af987d45
> 
> The patch title and commit message indicates that this was submitted
> in multiple versions to the mailing list.
> 
> You can find more on its progress on the mailing list here:
> https://lore.kernel.org/lkml/?q=seq_file%3A+fix+clang+warning+for+NULL+pointer+arithmetic
> 

Thank you for giving some informations,
it's always fun to read mailing list that I can understand :)

> It seems that it has not landed in linux-next yet, though:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?qt=grep&q=seq_file%3A+fix+clang+warning+for+NULL+pointer+arithmetic
> 

Yes I was doing it on linux-next.. :D

> The commit and discussion around it will give you much more technical
> details on the issue and its resolution.
> 
> I hope this helps.
> 
> Lukas

Thank you for giving some links. it will be much helpful.
I'm going to read it now!

Hyeonggon

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2021-05-27 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 15:14 Performing pointer arithmetic on a null pointer? Hyeonggon Yoo
2021-05-27 15:27 ` Lukas Bulwahn
2021-05-27 15:56   ` Hyeonggon Yoo [this message]
2021-05-27 15:32 ` Greg KH
2021-05-27 15:49   ` Hyeonggon Yoo

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=20210527155630.GA139168@hyeyoo \
    --to=42.hyeyoo@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=lukas.bulwahn@gmail.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 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.