All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Buisse <alexandre.buisse@ens-lyon.fr>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.15-rc2-mm1
Date: Thu, 24 Nov 2005 19:48:12 +0100	[thread overview]
Message-ID: <43860AEC.10200@ens-lyon.fr> (raw)
In-Reply-To: <20051123033550.00d6a6e8.akpm@osdl.org>

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

Andrew Morton wrote:

>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc2/2.6.15-rc2-mm1/
>
>
>  
>
Hi Andrew,

I had this compilation error :


  LD      .tmp_vmlinux1
drivers/built-in.o: In function `do_uevent':
lockspace.c:(.text+0x148ae7): undefined reference to `kobject_hotplug'
lockspace.c:(.text+0x148b9e): undefined reference to `kobject_hotplug'

DLM was still using kobject_hotplug, which seems to have been removed in
-mm. Brice kindly indicated me how to fix this, in exchange for half a
signed-off, so please see the attached patch. I grep'd the whole source
and did not find any other reference to kobject_hotplug.

Regards,
Alexandre

Signed-off-by: Alexandre Buisse <alexandre.buisse@ens-lyon.fr>
Signed-off-by: Brice Goglin <brice.goglin@ens-lyon.org>

[-- Attachment #2: dlm-kobject_hotplug.patch --]
[-- Type: text/x-patch, Size: 487 bytes --]

--- drivers/dlm/lockspace.c.old	2005-11-24 19:32:11.000000000 +0100
+++ drivers/dlm/lockspace.c	2005-11-24 19:39:59.000000000 +0100
@@ -157,9 +157,9 @@
 	int error;
 
 	if (in)
-		kobject_hotplug(&ls->ls_kobj, KOBJ_ONLINE);
+		kobject_uevent(&ls->ls_kobj, KOBJ_ONLINE);
 	else
-		kobject_hotplug(&ls->ls_kobj, KOBJ_OFFLINE);
+		kobject_uevent(&ls->ls_kobj, KOBJ_OFFLINE);
 
 	error = wait_event_interruptible(ls->ls_uevent_wait,
 			test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags));

  parent reply	other threads:[~2005-11-24 18:48 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23 11:35 2.6.15-rc2-mm1 Andrew Morton
2005-11-23 13:35 ` 2.6.15-rc2-mm1 Serge E. Hallyn
2005-11-23 14:15 ` 2.6.15-rc2-mm1 Michal Piotrowski
2005-11-23 19:22   ` 2.6.15-rc2-mm1 Andrew Morton
2005-11-24  9:04     ` 2.6.15-rc2-mm1 Harald Welte
2005-11-23 14:24 ` 2.6.15-rc2-mm1 thunder7
2005-11-23 17:50 ` 2.6.15-rc2-mm1 Marc Koschewski
2005-11-23 19:33   ` 2.6.15-rc2-mm1 Ian McDonald
2005-11-23 19:50     ` 2.6.15-rc2-mm1 Marc Koschewski
2005-11-23 20:12       ` 2.6.15-rc2-mm1 Greg KH
2005-11-23 20:23         ` 2.6.15-rc2-mm1 Marc Koschewski
2005-11-23 19:38   ` 2.6.15-rc2-mm1 Andrew Morton
2005-11-24  2:06     ` Mouse issues in -mm Frank Sorenson
2005-11-24  3:26       ` Dmitry Torokhov
2005-11-24  6:14         ` Frank Sorenson
2005-11-25 22:31           ` Dmitry Torokhov
2005-11-24  9:40         ` Marc Koschewski
2005-11-25 22:27           ` Dmitry Torokhov
2005-11-26  2:52             ` Marc Koschewski
2005-11-26  3:50               ` Dmitry Torokhov
2005-11-23 20:25 ` 2.6.15-rc2-mm1 Benoit Boissinot
2005-11-23 22:35 ` [-mm patch] init/main.c: dummy mark_rodata_ro() should be static Adrian Bunk
2005-11-23 22:46   ` Randy.Dunlap
2005-11-23 22:54     ` Adrian Bunk
2005-11-24  4:21       ` Dave Jones
2005-11-24  5:05         ` Andrew Morton
2005-11-24  5:06         ` Adrian Bunk
2005-11-24  5:14   ` [-mm patch] " Adrian Bunk
2005-11-24  7:56     ` Arjan van de Ven
2005-11-25 15:49       ` Adrian Bunk
2005-11-24  7:56   ` [-mm patch] init/main.c: " Arjan van de Ven
2005-11-24  0:20 ` 2.6.15-rc2-mm1 J.A. Magallon
2005-11-24  0:27   ` 2.6.15-rc2-mm1 Andrew Morton
2005-11-24  3:18 ` 2.6.15-rc2-mm1 KAMEZAWA Hiroyuki
2005-11-24  5:02   ` 2.6.15-rc2-mm1 Andrew Morton
2005-11-25 13:36     ` [PATCH] oprofile : Use vmalloc_node() in alloc_cpu_buffers() Eric Dumazet
2005-11-24 18:48 ` Alexandre Buisse [this message]
2005-11-26  5:49 ` 2.6.15-rc2-mm1 Valdis.Kletnieks
  -- strict thread matches above, loose matches on Subject: below --
2005-11-23 11:35 2.6.15-rc2-mm1 Andrew Morton

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=43860AEC.10200@ens-lyon.fr \
    --to=alexandre.buisse@ens-lyon.fr \
    --cc=akpm@osdl.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.