Re: [PATCH] fix implicit size of unsized arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 28, 2017 at 09:20:41PM +0000, Dibyendu Majumdar wrote:
> Hi Luc,
> 
> On 28 December 2017 at 21:19, Luc Van Oostenryck
> <luc.vanoostenryck@xxxxxxxxx> wrote:
> > On Thu, Dec 28, 2017 at 09:02:27PM +0000, Dibyendu Majumdar wrote:
> >> Previous thread on this issue:
> >>
> >> https://www.spinics.net/lists/linux-sparse/msg05427.html
> >
> > Ah yes, sorry, I forgot you already specifically reported this one.
> >
> > It should be fixed now.
> >
> 
> Well last time I thought the view was that a fix was not needed? What's changed?

Another case which led to a better understanding of the situation.

Note: I'm not very happy with the current fix because I think that
      array_size (which is an expression) should not be used after
      examination but thing is that currently array_size is used
      here and there.

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux