From: Rusty Russell <rusty@rustcorp.com.au>
To: Mike Frysinger <vapier@gentoo.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] modpost: fix asprintf warnings
Date: Thu, 10 Dec 2009 21:37:52 +1030 [thread overview]
Message-ID: <200912102137.52347.rusty@rustcorp.com.au> (raw)
In-Reply-To: <1260407779-12517-1-git-send-email-vapier@gentoo.org>
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.
next prev parent reply other threads:[~2009-12-10 11:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 12:02 [PATCH] modpost: fix asprintf warnings Mike Frysinger
2009-12-09 15:59 ` Américo Wang
2009-12-09 20:31 ` Mike Frysinger
2009-12-10 1:16 ` [PATCH v2] " Mike Frysinger
2009-12-10 6:52 ` Américo Wang
2009-12-10 11:07 ` Rusty Russell [this message]
2009-12-10 11:52 ` Rusty Russell
2009-12-10 11:55 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200912102137.52347.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox