aha152x: remove deprecated IRQF_DISABLED
Subsystems (2)
PATCH 1/1 aha152x: 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.
Also taking the opportunity to fix checkpatch issues on the lines I modified
--- drivers/scsi/aha152x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/aha152x.c +2 -2
@@ -857,7 +857,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SIMODE0 ,0 );SETPORT (SIMODE1 ,0 ); -if (request_irq (shpnt->irq, swintr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, swintr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: irq %d busy.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
@@ -891,7 +891,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SSTAT0 ,0x7f );SETPORT (SSTAT1 ,0xef ); -if (request_irq (shpnt->irq, intr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, intr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: failed to reassign irq %d.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
Signature · 1 line
1.8.1.2
PATCH RESEND 1/1 aha152x: 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.
Also taking the opportunity to fix checkpatch issues on the lines I modified
--- drivers/scsi/aha152x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/aha152x.c +2 -2
@@ -857,7 +857,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SIMODE0 ,0 );SETPORT (SIMODE1 ,0 ); -if (request_irq (shpnt->irq, swintr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, swintr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: irq %d busy.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
@@ -891,7 +891,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SSTAT0 ,0x7f );SETPORT (SSTAT1 ,0xef ); -if (request_irq (shpnt->irq, intr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, intr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: failed to reassign irq %d.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
Signature · 1 line
1.8.3.2
PATCH RESEND 1/1 aha152x: remove deprecated IRQF_DISABLED
This patch removes the use of the IRQF_DISABLED flag from drivers/scsi/aha152x.c
It's a NOOP since 2.6.35 and it will be removed one day.
Also taking the opportunity to fix checkpatch issues on the lines I modified
--- drivers/scsi/aha152x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/aha152x.c +2 -2
@@ -857,7 +857,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SIMODE0 ,0 );SETPORT (SIMODE1 ,0 ); -if (request_irq (shpnt->irq, swintr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, swintr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: irq %d busy.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
@@ -891,7 +891,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SSTAT0 ,0x7f );SETPORT (SSTAT1 ,0xef ); -if (request_irq (shpnt->irq, intr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, intr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: failed to reassign irq %d.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
Signature · 1 line
1.8.3.2
PATCH RESEND 1/1 aha152x: remove deprecated IRQF_DISABLED
This patch removes the use of the IRQF_DISABLED flag from drivers/scsi/aha152x.c
It's a NOOP since 2.6.35 and it will be removed one day.
Also taking the opportunity to fix checkpatch issues on the lines I modified
--- drivers/scsi/aha152x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/aha152x.c +2 -2
@@ -857,7 +857,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SIMODE0 ,0 );SETPORT (SIMODE1 ,0 ); -if (request_irq (shpnt->irq, swintr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, swintr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: irq %d busy.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
@@ -891,7 +891,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SSTAT0 ,0x7f );SETPORT (SSTAT1 ,0xef ); -if (request_irq (shpnt->irq, intr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, intr,IRQF_SHARED ,"aha152x" , shpnt)) {printk (KERN_ERR "aha152x%d: failed to reassign irq %d.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
Signature · 1 line
1.8.3.2