linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10
@ 2007-12-15 15:31 Michael Kühn
  2007-12-15 16:45 ` Mark Lord
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kühn @ 2007-12-15 15:31 UTC (permalink / raw)
  To: linux-ide; +Cc: torvalds, lkml

This patch remove a unused variable in the ahci_port_intr function and
therewith a compiler warning.

Signed-off-by: Michael Kühn <breiteseite1337@googlemail.com>


--- linux-2.6.23.10/drivers/ata/ahci.c  2007-12-14 19:01:59.000000000 +0100
+++ linux-2.6.23.10.new/drivers/ata/ahci.c      2007-12-15
01:03:41.000000000 +0100
@@ -1430,7 +1430,6 @@
 {
        void __iomem *port_mmio = ap->ioaddr.cmd_addr;
        struct ata_eh_info *ehi = &ap->eh_info;
-       struct ahci_port_priv *pp = ap->private_data;
        u32 status, qc_active;
        int rc;

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

* Re: [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10
  2007-12-15 15:31 [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10 Michael Kühn
@ 2007-12-15 16:45 ` Mark Lord
  2007-12-15 17:08   ` Michael Kühn
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Lord @ 2007-12-15 16:45 UTC (permalink / raw)
  To: Michael Kühn; +Cc: linux-ide, torvalds

Michael Kühn wrote:
> This patch remove a unused variable in the ahci_port_intr function and
> therewith a compiler warning.
> 
> Signed-off-by: Michael Kühn <breiteseite1337@googlemail.com>
> 
> 
> --- linux-2.6.23.10/drivers/ata/ahci.c  2007-12-14 19:01:59.000000000 +0100
> +++ linux-2.6.23.10.new/drivers/ata/ahci.c      2007-12-15
> 01:03:41.000000000 +0100
> @@ -1430,7 +1430,6 @@
>  {
>         void __iomem *port_mmio = ap->ioaddr.cmd_addr;
>         struct ata_eh_info *ehi = &ap->eh_info;
> -       struct ahci_port_priv *pp = ap->private_data;
>         u32 status, qc_active;
>         int rc;
..

Mmmm.. seems to not be applicable to current 2.6.24-rc*,
as the "pp" variable *is* used in that function there.

For older kernels, only serious bugs warrant an update.

Cheers

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

* Re: [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10
  2007-12-15 16:45 ` Mark Lord
@ 2007-12-15 17:08   ` Michael Kühn
  2007-12-15 17:19     ` Mark Lord
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kühn @ 2007-12-15 17:08 UTC (permalink / raw)
  To: Mark Lord; +Cc: linux-ide, torvalds

Hmm...
but why we shouldn't integrate this fix in 2.6.23* branch?
I thought 2.6.23 and 2.6.24 are indepented from each other and get their 
own fixes. So it's just a nice have-to-be in the next Bugfix release.

Yours sincerly
Michael Kühn

Mark Lord schrieb:
> Michael Kühn wrote:
>> This patch remove a unused variable in the ahci_port_intr function and
>> therewith a compiler warning.
>>
>> Signed-off-by: Michael Kühn <breiteseite1337@googlemail.com>
>>
>>
>> --- linux-2.6.23.10/drivers/ata/ahci.c  2007-12-14 19:01:59.000000000 
>> +0100
>> +++ linux-2.6.23.10.new/drivers/ata/ahci.c      2007-12-15
>> 01:03:41.000000000 +0100
>> @@ -1430,7 +1430,6 @@
>>  {
>>         void __iomem *port_mmio = ap->ioaddr.cmd_addr;
>>         struct ata_eh_info *ehi = &ap->eh_info;
>> -       struct ahci_port_priv *pp = ap->private_data;
>>         u32 status, qc_active;
>>         int rc;
> ..
> 
> Mmmm.. seems to not be applicable to current 2.6.24-rc*,
> as the "pp" variable *is* used in that function there.
> 
> For older kernels, only serious bugs warrant an update.
> 
> Cheers

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

* Re: [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10
  2007-12-15 17:08   ` Michael Kühn
@ 2007-12-15 17:19     ` Mark Lord
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Lord @ 2007-12-15 17:19 UTC (permalink / raw)
  To: Michael Kühn; +Cc: linux-ide, torvalds

Michael Kühn wrote:
> Hmm...
> but why we shouldn't integrate this fix in 2.6.23* branch?
> I thought 2.6.23 and 2.6.24 are indepented from each other and get their 
> own fixes. So it's just a nice have-to-be in the next Bugfix release.
..

You can forward it to GregK, who looks after the backported fixes
for those releases, and see if he's interested in it.

Cheers



> Yours sincerly
> Michael Kühn
> 
> Mark Lord schrieb:
>> Michael Kühn wrote:
>>> This patch remove a unused variable in the ahci_port_intr function and
>>> therewith a compiler warning.
>>>
>>> Signed-off-by: Michael Kühn <breiteseite1337@googlemail.com>
>>>
>>>
>>> --- linux-2.6.23.10/drivers/ata/ahci.c  2007-12-14 19:01:59.000000000 
>>> +0100
>>> +++ linux-2.6.23.10.new/drivers/ata/ahci.c      2007-12-15
>>> 01:03:41.000000000 +0100
>>> @@ -1430,7 +1430,6 @@
>>>  {
>>>         void __iomem *port_mmio = ap->ioaddr.cmd_addr;
>>>         struct ata_eh_info *ehi = &ap->eh_info;
>>> -       struct ahci_port_priv *pp = ap->private_data;
>>>         u32 status, qc_active;
>>>         int rc;
>> ..
>>
>> Mmmm.. seems to not be applicable to current 2.6.24-rc*,
>> as the "pp" variable *is* used in that function there.
>>
>> For older kernels, only serious bugs warrant an update.
>>
>> Cheers


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

end of thread, other threads:[~2007-12-15 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-15 15:31 [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10 Michael Kühn
2007-12-15 16:45 ` Mark Lord
2007-12-15 17:08   ` Michael Kühn
2007-12-15 17:19     ` Mark Lord

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).