On Thu, Sep 29, 2022 at 09:08:26AM -0500, Eric Blake wrote:
> On Thu, Sep 29, 2022 at 02:42:05PM +0100, Richard W.M. Jones wrote:
> > > > + (* Output __attribute__((nonnull)) for the function parameters:
> > > > + * eg. struct nbd_handle *, int, char *
> > > > + * => [ true, false, true ]
On Thu, Sep 29, 2022 at 02:42:05PM +0100, Richard W.M. Jones wrote:
> > > + (* Output __attribute__((nonnull)) for the function parameters:
> > > + * eg. struct nbd_handle *, int, char *
> > > + * => [ true, false, true ]
> > > + * => LIBNBD_ATTRIBUTE_NONNULL((1,3))
> > > + *
On Thu, Sep 29, 2022 at 08:25:29AM -0500, Eric Blake wrote:
> On Wed, Sep 28, 2022 at 06:25:35PM +0100, Richard W.M. Jones wrote:
> > For API parameters that are pointers and must not be NULL, add the
> > appropriate GCC annotations.
> >
> > Reviewed-by: Laszlo Ersek
> > ---
> > generator/C.ml
On Wed, Sep 28, 2022 at 06:25:35PM +0100, Richard W.M. Jones wrote:
> For API parameters that are pointers and must not be NULL, add the
> appropriate GCC annotations.
>
> Reviewed-by: Laszlo Ersek
> ---
> generator/C.ml | 59 +++--
>
On 09/28/22 23:53, Eric Blake wrote:
> On Wed, Sep 28, 2022 at 06:25:35PM +0100, Richard W.M. Jones wrote:
>> For API parameters that are pointers and must not be NULL, add the
>> appropriate GCC annotations.
>>
>> Reviewed-by: Laszlo Ersek
>> ---
>> generator/C.ml | 59
On Wed, Sep 28, 2022 at 06:25:35PM +0100, Richard W.M. Jones wrote:
> For API parameters that are pointers and must not be NULL, add the
> appropriate GCC annotations.
>
> Reviewed-by: Laszlo Ersek
> ---
> generator/C.ml | 59 +++--
>
For API parameters that are pointers and must not be NULL, add the
appropriate GCC annotations.
Reviewed-by: Laszlo Ersek
---
generator/C.ml | 59 +++--
tests/errors-connect-null.c | 4 +++
2 files changed, 61 insertions(+), 2 deletions(-)
diff