[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1457366852.15205.23.camel@decadent.org.uk>
Date: Mon, 07 Mar 2016 16:07:32 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: David Decotigny <ddecotig@...il.com>, netdev@...r.kernel.org
Cc: Jeff Garzik <jgarzik@...ox.com>, David Miller <davem@...hat.com>,
Vidya Sagar Ravipati <vidya@...ulusnetworks.com>,
Joe Perches <joe@...ches.com>,
Maciej Żenczykowski <maze@...gle.com>,
David Decotigny <decot@...glers.com>
Subject: Re: [ethtool PATCH v3 06/12] test-common.c: fix test_realloc(NULL,
...)
On Fri, 2016-03-04 at 16:42 -0800, David Decotigny wrote:
> From: Maciej Żenczykowski <maze@...gle.com>
>
> This fixes:
> test-common.c: In function 'test_realloc':
> test-common.c:109:8: error: 'block' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> block = realloc(block, sizeof(*block) + size);
> ^
[...]
LGTM.
Ben.
--
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists