[PATCH 06/11] ide: mark "ide=reverse" option as obsolete

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@...>, Alan Cox <alan@...>, Greg Kroah-Hartman <gregkh@...>
Date: Thursday, February 21, 2008 - 7:48 pm

From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

- it is valid only if "Probe IDE PCI devices in the PCI bus order
  (DEPRECATED)" config option is used

- Greg needs to remove pci_get_device_reverse() for PCI core changes

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/ide/ide.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 4a8952a..477833f 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1229,7 +1229,7 @@ static int __init ide_setup(char *s)
 	if (!strcmp(s, "ide=reverse")) {
 		ide_scan_direction = 1;
 		printk(" : Enabled support for IDE inverse scan order.\n");
-		return 1;
+		goto obsolete_option;
 	}
 #endif
 
-- 
1.5.4

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 11/11] modules: do not try to add sysfs attributes if..., Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 10/11] POWERPC: fix typo in pseries/power.c, Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 09/11] PM: Remove unbalanced mutex_unlock() from dpm_..., Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 08/11] UIO: fix Greg's stupid changes, Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 07/11] stable_kernel_rules: fix must already be in ma..., Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 06/11] ide: mark "ide=reverse" option as obsolete, Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 05/11] Driver core: Fix error handling in bus_add_dri..., Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 04/11] driver-core: fix kernel-doc function parameters, Greg Kroah-Hartman, (Thu Feb 21, 7:48 pm)
[PATCH 03/11] cpufreq: fix kobject reference count handling, Greg Kroah-Hartman, (Thu Feb 21, 7:47 pm)
[PATCH 02/11] slabinfo: fall back from /sys/kernel/slab to /..., Greg Kroah-Hartman, (Thu Feb 21, 7:47 pm)
[PATCH 01/11] Fix broken utf-8 encodings in ja_JP translatio..., Greg Kroah-Hartman, (Thu Feb 21, 7:47 pm)