[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200912102137.52347.rusty@rustcorp.com.au>
Date: Thu, 10 Dec 2009 21:37:52 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Mike Frysinger <vapier@...too.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] modpost: fix asprintf warnings
On Thu, 10 Dec 2009 11:46:19 am Mike Frysinger wrote:
> On compilers with security warnings enabled by default, we get:
>
> scripts/mod/modpost.c: In function 'get_markers':
> scripts/mod/modpost.c:1562: warning: ignoring return value of 'asprintf',
> declared with attribute warn_unused_result
> scripts/mod/modpost.c: In function 'add_marker':
> scripts/mod/modpost.c:1982: warning: ignoring return value of 'asprintf',
> declared with attribute warn_unused_result
Actually I think these warnings only occur with -DFORTIFY_SOURCE. This is
turned on by Ubuntu at least.
I think they're a bad idea (if you really don't care, suppressing them is
really painful), but that's a separate battle...
Applied,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists