linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geller Sandor <wildy@petra.hos.u-szeged.hu>
To: linux-kernel@vger.kernel.org
Cc: alan@redhat.com
Subject: compile fix for IBM PCI hotplug driver (linux 2.4.21rc1-ac4)
Date: Sun, 4 May 2003 16:01:38 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0305041555310.14568-100000@petra.hos.u-szeged.hu> (raw)

A small fix for the IBM PCI hotplug driver.

--- ibmphp_ebda.c.orig	Sun May  4 15:35:42 2003
+++ ibmphp_ebda.c	Sun May  4 15:54:04 2003
@@ -754,7 +754,7 @@
 	struct ebda_hpc_slot *slot_ptr;
 	struct bus_info *bus_info_ptr1, *bus_info_ptr2;
 	int rc;
-	struct slot *tmp_slot;
+	struct slot *slot_cur, *tmp_slot;
 	struct list_head *list;
 	char buf[32];

@@ -992,7 +992,7 @@
 		slot_cur = list_entry (list, struct slot, ibm_slot_list);
 		if(create_file_name (slot_cur, buf)==0)
 		{
-			snprintf (slot_cur->hotplug_slot->name, 30, "%s", );
+			snprintf (slot_cur->hotplug_slot->name, 30, "%s" );
 			pci_hp_register (slot_cur->hotplug_slot);
 		}
 	}


             reply	other threads:[~2003-05-04 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-04 14:01 Geller Sandor [this message]
2003-05-04 14:39 compile fix for IBM PCI hotplug driver (linux 2.4.21rc1-ac4) Chuck Ebbert
2003-05-04 18:36 ` Geller Sandor

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=Pine.LNX.4.44.0305041555310.14568-100000@petra.hos.u-szeged.hu \
    --to=wildy@petra.hos.u-szeged.hu \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).