* [Qemu-devel] [PATCH] Outdated comment in HACKING
@ 2011-02-25 0:27 Joey Trebbien
2011-02-25 22:08 ` Anthony Liguori
0 siblings, 1 reply; 3+ messages in thread
From: Joey Trebbien @ 2011-02-25 0:27 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
All printf-style functions in the source (except for a few in tests/)
already have a format __attribute__ (via the GCC_ATTR or GCC_FMT_ATTR
macros).
Signed-off-by: Joseph Trebbien <jtrebbien@gmail.com>
---
HACKING | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/HACKING b/HACKING
index 6ba9d7e..3af53fd 100644
--- a/HACKING
+++ b/HACKING
@@ -120,6 +120,3 @@ gcc's printf attribute directive in the prototype.
This makes it so gcc's -Wformat and -Wformat-security options can do
their jobs and cross-check format strings with the number and types
of arguments.
-
-Currently many functions in QEMU are not following this rule but
-patches to add the attribute would be very much appreciated.
[-- Attachment #2: Type: text/html, Size: 935 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] Outdated comment in HACKING
2011-02-25 0:27 [Qemu-devel] [PATCH] Outdated comment in HACKING Joey Trebbien
@ 2011-02-25 22:08 ` Anthony Liguori
2011-02-25 22:21 ` Stefan Weil
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2011-02-25 22:08 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 988 bytes --]
This patch won't apply with git-am because your mailer is doing weird
things. Please use git-send-email to send the patch.
Regards,
Anthony Liguori
On 02/24/2011 06:27 PM, Joey Trebbien wrote:
> All printf-style functions in the source (except for a few in tests/)
> already have a format __attribute__ (via the GCC_ATTR or GCC_FMT_ATTR
> macros).
>
> Signed-off-by: Joseph Trebbien <jtrebbien@gmail.com
> <mailto:jtrebbien@gmail.com>>
> ---
> HACKING | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
>
> diff --git a/HACKING b/HACKING
> index 6ba9d7e..3af53fd 100644
> --- a/HACKING
> +++ b/HACKING
> @@ -120,6 +120,3 @@ gcc's printf attribute directive in the prototype.
> This makes it so gcc's -Wformat and -Wformat-security options can do
> their jobs and cross-check format strings with the number and types
> of arguments.
> -
> -Currently many functions in QEMU are not following this rule but
> -patches to add the attribute would be very much appreciated.
[-- Attachment #2: Type: text/html, Size: 1545 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] Outdated comment in HACKING
2011-02-25 22:08 ` Anthony Liguori
@ 2011-02-25 22:21 ` Stefan Weil
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Weil @ 2011-02-25 22:21 UTC (permalink / raw)
To: Anthony Liguori; +Cc: Joseph Trebbien, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
Am 25.02.2011 23:08, schrieb Anthony Liguori:
> This patch won't apply with git-am because your mailer is doing weird
> things. Please use git-send-email to send the patch.
>
> Regards,
>
> Anthony Liguori
>
> On 02/24/2011 06:27 PM, Joey Trebbien wrote:
>> All printf-style functions in the source (except for a few in tests/)
>> already have a format __attribute__ (via the GCC_ATTR or GCC_FMT_ATTR
>> macros).
>>
>> Signed-off-by: Joseph Trebbien <jtrebbien@gmail.com
>> <mailto:jtrebbien@gmail.com>>
>> ---
>> HACKING | 3 ---
>> 1 files changed, 0 insertions(+), 3 deletions(-)
>>
>>
>> diff --git a/HACKING b/HACKING
>> index 6ba9d7e..3af53fd 100644
>> --- a/HACKING
>> +++ b/HACKING
>> @@ -120,6 +120,3 @@ gcc's printf attribute directive in the prototype.
>> This makes it so gcc's -Wformat and -Wformat-security options can do
>> their jobs and cross-check format strings with the number and types
>> of arguments.
>> -
>> -Currently many functions in QEMU are not following this rule but
>> -patches to add the attribute would be very much appreciated.
>
Hi Anthony,
the same patch is on my list of missing patches which I had sent
weeks ago, so no need for Joey to resent his patch.
I'll resend my version.
Regards,
Stefan W.
[-- Attachment #2: Type: text/html, Size: 2012 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-25 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 0:27 [Qemu-devel] [PATCH] Outdated comment in HACKING Joey Trebbien
2011-02-25 22:08 ` Anthony Liguori
2011-02-25 22:21 ` Stefan Weil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).