Skip to contentSkip to conversation

cpqarray: remove deprecated IRQF_DISABLED

PATCH In review Michael Opdenacker 2 participants 4 messages Oct 12, 2013 – Oct 1, 2014 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpqarray: remove deprecated IRQF_DISABLED

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

---
 drivers/block/cpqarray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/cpqarray.c +1 -1
index 2b94403..370721e 100644
@@ -406,7 +406,7 @@ static int cpqarray_register_ctlr(int i, struct pci_dev *pdev)
 	}
 	hba[i]->access.set_intr_mask(hba[i], 0);
 	if (request_irq(hba[i]->intr, do_ida_intr,
-		IRQF_DISABLED|IRQF_SHARED, hba[i]->devname, hba[i]))
+		IRQF_SHARED, hba[i]->devname, hba[i]))
 	{
 		printk(KERN_ERR "cpqarray: Unable to get irq %d for %s\n",
 				hba[i]->intr, hba[i]->devname);
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Michael Opdenacker [mailto:michael.opdenacker@free- electrons.com]
Sent: Friday, October 11, 2013 11:15 PM
To: [email protected]
Cc: ISS StorageDev; [email protected]; Michael Opdenacker
Subject: [PATCH] cpqarray: remove deprecated IRQF_DISABLED

Quoted 3 lines

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

I plan to send a patch soon to remove cpqarray completely.

-- mikem

Quoted 23 lines

electrons.com>

---
 drivers/block/cpqarray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/cpqarray.c index renamed from drivers/block/cpqarray.c +0 -0

2b94403..370721e 100644

drivers/block/cpqarray.c +1 -1
@@ -406,7 +406,7 @@ static int cpqarray_register_ctlr(int i, struct pci_dev
 *pdev)
 	}
 	hba[i]->access.set_intr_mask(hba[i], 0);
 	if (request_irq(hba[i]->intr, do_ida_intr,
-		IRQF_DISABLED|IRQF_SHARED, hba[i]->devname, hba[i]))
+		IRQF_SHARED, hba[i]->devname, hba[i]))
 	{
 		printk(KERN_ERR "cpqarray: Unable to get irq %d for %s\n",

hba[i]->intr, hba[i]->devname);
--
1.8.1.2

#2 lore raw

Hello Mike,

Quoted 9 lines · Mike (OS Dev)
Quoted 9 lines

-----Original Message-----
From: Michael Opdenacker [mailto:michael.opdenacker@free- electrons.com]
Sent: Friday, October 11, 2013 11:15 PM
To: [email protected]
Cc: ISS StorageDev; [email protected]; Michael Opdenacker
Subject: [PATCH] cpqarray: remove deprecated IRQF_DISABLED

Quoted 4 lines
Quoted 3 lines

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

I plan to send a patch soon to remove cpqarray completely.

Any news from this removal? I would like to get rid of my patch for good...

Thank you in advance,

Michael.

Signature · 4 lines
Michael Opdenacker, CEO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098
#3 lore raw
In reply to Miller, Mike (OS Dev)

Hi Mike,

Quoted 9 lines · Mike (OS Dev)
Quoted 9 lines

-----Original Message-----
From: Michael Opdenacker [mailto:michael.opdenacker@free- electrons.com]
Sent: Friday, October 11, 2013 11:15 PM
To: [email protected]
Cc: ISS StorageDev; [email protected]; Michael Opdenacker
Subject: [PATCH] cpqarray: remove deprecated IRQF_DISABLED

Quoted 6 lines
Quoted 3 lines

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

I plan to send a patch soon to remove cpqarray completely.

-- mikem

Any news? Would you like me to take care of this patch if you don't have time? It would be with pleasure...

Michael.

Signature · 4 lines
Michael Opdenacker, CEO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098