[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sparse
Subject:    Re: function designators & function pointers
From:       Christopher Li <sparse () chrisli ! org>
Date:       2017-11-27 18:23:03
Message-ID: CANeU7QkxM7q50J4k6gz3C6OD0xv7Rp1tacZCOWjku4O2FR4J-w () mail ! gmail ! com
[Download RAW message or body]

On Mon, Nov 27, 2017 at 5:58 AM, Luc Van Oostenryck
<luc.vanoostenryck@gmail.com> wrote:
>
> Currently, sparse doesn't like those 'unneeded dereferences'.
> Do we want to accept them?

I think so. It is valid C after all.

> Do we want to warn on them (because they're really weird, unneeded
> and thus maybe the sign of some errors)?

Unneeded, yes.

Warning about it. I don't feel strongly either way. I guess we
can have a warning default to off.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic