All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libata: kill ata_irq_on() prototype
@ 2010-05-06 18:15 Sergei Shtylyov
  2010-05-14 21:24 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2010-05-06 18:15 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-ide

Commit 9363c3825ea9ad76561eb48a395349dd29211ed6 renamed ata_irq_on() to
ata_sff_irq_on() but forgot to rename its prototype in "libata.h". This
prototype is duplicate anyway, as the function is already declared in
<linux/libata.h>, so remove it...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

---
The patch is against the recent Linus' tree.

 drivers/ata/libata.h |    1 -
 1 file changed, 1 deletion(-)

Index: linux-2.6/drivers/ata/libata.h
===================================================================
--- linux-2.6.orig/drivers/ata/libata.h
+++ linux-2.6/drivers/ata/libata.h
@@ -204,7 +204,6 @@ static inline int sata_pmp_attach(struct
 #ifdef CONFIG_ATA_SFF
 extern void ata_dev_select(struct ata_port *ap, unsigned int device,
                            unsigned int wait, unsigned int can_sleep);
-extern u8 ata_irq_on(struct ata_port *ap);
 extern void ata_pio_task(struct work_struct *work);
 #endif /* CONFIG_ATA_SFF */
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libata: kill ata_irq_on() prototype
  2010-05-06 18:15 [PATCH] libata: kill ata_irq_on() prototype Sergei Shtylyov
@ 2010-05-14 21:24 ` Jeff Garzik
  2010-05-14 21:29   ` Sergei Shtylyov
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2010-05-14 21:24 UTC (permalink / raw)
  To: Sergei Shtylyov; +Cc: linux-ide

On 05/06/2010 02:15 PM, Sergei Shtylyov wrote:
> Commit 9363c3825ea9ad76561eb48a395349dd29211ed6 renamed ata_irq_on() to
> ata_sff_irq_on() but forgot to rename its prototype in "libata.h". This
> prototype is duplicate anyway, as the function is already declared in
> <linux/libata.h>, so remove it...
>
> Signed-off-by: Sergei Shtylyov<sshtylyov@ru.mvista.com>
>
> ---
> The patch is against the recent Linus' tree.
>
>   drivers/ata/libata.h |    1 -
>   1 file changed, 1 deletion(-)

applied



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libata: kill ata_irq_on() prototype
  2010-05-14 21:24 ` Jeff Garzik
@ 2010-05-14 21:29   ` Sergei Shtylyov
  2010-05-14 21:36     ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2010-05-14 21:29 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide

Hello.

Jeff Garzik wrote:

>> Commit 9363c3825ea9ad76561eb48a395349dd29211ed6 renamed ata_irq_on() to
>> ata_sff_irq_on() but forgot to rename its prototype in "libata.h". This
>> prototype is duplicate anyway, as the function is already declared in
>> <linux/libata.h>, so remove it...

>> Signed-off-by: Sergei Shtylyov<sshtylyov@ru.mvista.com>

>> ---
>> The patch is against the recent Linus' tree.

>>   drivers/ata/libata.h |    1 -
>>   1 file changed, 1 deletion(-)

> applied

    Jeff, this patch conflicts with Tejun's recently posted patch:

http://marc.info/?l=linux-ide&m=127352053709702

    It would probably have been better to apply Tejun's patch as more 
complete.

MBR, Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libata: kill ata_irq_on() prototype
  2010-05-14 21:29   ` Sergei Shtylyov
@ 2010-05-14 21:36     ` Jeff Garzik
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2010-05-14 21:36 UTC (permalink / raw)
  To: Sergei Shtylyov; +Cc: linux-ide

On 05/14/2010 05:29 PM, Sergei Shtylyov wrote:
> Hello.
>
> Jeff Garzik wrote:
>
>>> Commit 9363c3825ea9ad76561eb48a395349dd29211ed6 renamed ata_irq_on() to
>>> ata_sff_irq_on() but forgot to rename its prototype in "libata.h". This
>>> prototype is duplicate anyway, as the function is already declared in
>>> <linux/libata.h>, so remove it...
>
>>> Signed-off-by: Sergei Shtylyov<sshtylyov@ru.mvista.com>
>
>>> ---
>>> The patch is against the recent Linus' tree.
>
>>> drivers/ata/libata.h | 1 -
>>> 1 file changed, 1 deletion(-)
>
>> applied
>
> Jeff, this patch conflicts with Tejun's recently posted patch:
>
> http://marc.info/?l=linux-ide&m=127352053709702
>
> It would probably have been better to apply Tejun's patch as more complete.

So noted, patch dropped.  I was about to turn to Tejun's pile-o-stuff, 
and this saved me a bit of time.

	Jeff





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-14 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 18:15 [PATCH] libata: kill ata_irq_on() prototype Sergei Shtylyov
2010-05-14 21:24 ` Jeff Garzik
2010-05-14 21:29   ` Sergei Shtylyov
2010-05-14 21:36     ` Jeff Garzik

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.