Skip to contentSkip to conversation

block: adding __init/__exit macros to DAC960.c

PATCH Applied Peter Huewe 3 participants 6 messages Jun 12, 2009 – Jul 1, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: adding __init/__exit macros to DAC960.c

From: Peter Huewe <[email protected]>

Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions from drivers/block/DAC960.c
linux version 2.6.30

---

drivers/block/DAC960.c +2 -2
index f22ed6c..5b4a48b 100644
@@ -7209,7 +7209,7 @@ static struct pci_driver DAC960_pci_driver = {
 	.remove		= DAC960_Remove,
 };
 
-static int DAC960_init_module(void)
+static int __init DAC960_init_module(void)
 {
 	int ret;
 
@@ -7221,7 +7221,7 @@ static int DAC960_init_module(void)
 	return ret;
 }
 
-static void DAC960_cleanup_module(void)
+static void __exit DAC960_cleanup_module(void)
 {
 	int i;
#1 lore raw

Am Freitag 12 Juni 2009 13:07:29 schrieb Peter Huewe:

Quoted 7 lines

From: Peter Huewe <[email protected]>

Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions from drivers/block/DAC960.c
linux version 2.6.30

Hi,
@Jiri:
I was wondering if there is anything wrong with the patch or is it still in the review phase ?

Best Regards,
Peter

Applied
#2 lore raw
Quoted 5 lines · Peter Hüwe
Quoted 3 lines

Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions from drivers/block/DAC960.c
linux version 2.6.30

I was wondering if there is anything wrong with the patch or is it still in the review phase ?

I have applied it to trivial queue, thanks Peter.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#3 lore raw

Am Dienstag 23 Juni 2009 10:48:28 schrieb Jiri Kosina:

Quoted 9 lines · Peter Hüwe
Quoted 6 lines
Quoted 3 lines

Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions from drivers/block/DAC960.c linux version 2.6.30

I was wondering if there is anything wrong with the patch or is it still in the review phase ?

I have applied it to trivial queue, thanks Peter.

Hi Jiri,

I just looked in your git tree - it still does not appear there :) I'm sorry for bugging you with this trivial patch.

Peter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 8 lines · Peter Hüwe
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions from drivers/block/DAC960.c linux version 2.6.30

I was wondering if there is anything wrong with the patch or is it still in the review phase ?

I have applied it to trivial queue, thanks Peter.

I just looked in your git tree - it still does not appear there :) I'm sorry for bugging you with this trivial patch.

Hi Peter,

I guess you looked into the wrong branch -- it is in 'for-next' branch, see
http://git.kernel.org/?p=linux/kernel/git/jikos/trivial.git;a=commit;h=ef59a28cbb29dd6ec4fcd59eaacb15ea85adbd2e

Signature · 2 lines
Jiri Kosina
SUSE Labs
#5 lore raw

Am Mittwoch 01 Juli 2009 10:58:46 schrieb Jiri Kosina:

Quoted 7 lines · Peter Hüwe

Hi Peter,

I guess you looked into the wrong branch -- it is in 'for-next' branch, see
http://git.kernel.org/?p=linux/kernel/git/jikos/trivial.git;a=commit;hï59
a28cbb29dd6ec4fcd59eaacb15ea85adbd2e

Oh - my fault :) Seems I'm still not familiar enough with git :/ Thank you for the hint and merging my patch.

Thanks,
Peter

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html