public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Halasa <khc@pm.waw.pl>
To: marcelo.tosatti@cyclades.com
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix
Date: Tue, 27 Jan 2004 22:54:33 +0100	[thread overview]
Message-ID: <m3brop5a7a.fsf@defiant.pm.waw.pl> (raw)

[-- 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);
 		}

             reply	other threads:[~2004-01-27 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27 21:54 Krzysztof Halasa [this message]
     [not found] <BF1FE1855350A0479097B3A0D2A80EE0020AE787@hdsmsx402.hd.intel.com>
2004-01-28 20:27 ` [PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix Len Brown

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=m3brop5a7a.fsf@defiant.pm.waw.pl \
    --to=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /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