Compliment va_start() with va_end().
Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]>
---
Compile-tested on i386 with allyesconfig & allmodconfig.
utdebug.c |2 ++
utmisc.c |4
2 files changed, 6 insertions(+)
diff --git a/drivers/acpi/utilities/utdebug.c b/drivers/acpi/utilit
4, 2007 11:06 PM
>To: Moore, Robert
>Subject: Fwd: [PATCH] [ACPI] utilities/: Compliment va_start() with
>va_end().
>
>
>
>------ Forwarded Message --
>
>Subject: [PATCH] [ACPI] utilities/: Compliment va_start() with
va_end().
>Date: Saturday 24 November 2
Moore, Robert wrote:
This is an interesting one to me.
From various documentation:
After all arguments have been retrieved, va_end resets the pointer to
NULL.
va_end
Each invocation of va_start must be matched by a corresponding
invocation of va_end in the same function. After the call va_end(
[EMAIL PROTECTED]; linux-acpi@vger.kernel.org
>Subject: Re: [PATCH] [ACPI] utilities/: Compliment va_start() with
>va_end().
>
>Moore, Robert wrote:
>> This is an interesting one to me.
>>
>> From various documentation:
>>
>> After all arguments have been re
rt
Cc: Len Brown; [EMAIL PROTECTED]; linux-acpi@vger.kernel.org
Subject: Re: [PATCH] [ACPI] utilities/: Compliment va_start() with
va_end().
Moore, Robert wrote:
This is an interesting one to me.
From various documentation:
After all arguments have been retrieved, va_end resets the point