public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix
@ 2004-01-27 21:54 Krzysztof Halasa
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Halasa @ 2004-01-27 21:54 UTC (permalink / raw)
  To: marcelo.tosatti; +Cc: lkml

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

Hi,

I think this is what the author meant, i.e. we don't need to substitute
obj_desc = new_obj_desc there as it is done later in the file.

This patch doesn't change kernel behaviour, it only eliminates the
warning message.

Please apply to 2.4 kernel tree. Thanks.
-- 
Krzysztof Halasa, B*FH

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: dsmthdat-2.4.25pre7.patch --]
[-- Type: text/x-patch, Size: 438 bytes --]

--- linux-2.4.orig/drivers/acpi/dispatcher/dsmthdat.c	2004-01-27 21:22:26.000000000 +0100
+++ linux-2.4/drivers/acpi/dispatcher/dsmthdat.c	2004-01-27 22:41:04.000000000 +0100
@@ -601,7 +601,6 @@
 	new_obj_desc = obj_desc;
 	if (obj_desc->common.reference_count > 1) {
 		status = acpi_ut_copy_iobject_to_iobject (obj_desc, &new_obj_desc, walk_state);
-		new_obj_desc;
 		if (ACPI_FAILURE (status)) {
 			return_ACPI_STATUS (status);
 		}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix
       [not found] <BF1FE1855350A0479097B3A0D2A80EE0020AE787@hdsmsx402.hd.intel.com>
@ 2004-01-28 20:27 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2004-01-28 20:27 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: marcelo.tosatti, lkml

Krzysztof,


You're correct, but the 2.4 and 2.6 trees already got this fix when they
updated to ACPICA 20041116 on Monday night.

thanks,
-Len

On Tue, 2004-01-27 at 16:54, Krzysztof Halasa wrote:
> Hi,
> 
> I think this is what the author meant, i.e. we don't need to
> substitute
> obj_desc = new_obj_desc there as it is done later in the file.
> 
> This patch doesn't change kernel behaviour, it only eliminates the
> warning message.
> 
> Please apply to 2.4 kernel tree. Thanks.
> --
> Krzysztof Halasa, B*FH
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-28 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BF1FE1855350A0479097B3A0D2A80EE0020AE787@hdsmsx402.hd.intel.com>
2004-01-28 20:27 ` [PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix Len Brown
2004-01-27 21:54 Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox