From: "Alexandros C. Couloumbis" <alex@ozo.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@linux.intel.com>,
jeff@garzik.org, linux-kernel@vger.kernel.org, stable@kernel.org,
linux-ide@vger.kernel.org
Subject: Re: [PATCH] pata_sc1200: Fix crash on boot
Date: Wed, 14 Oct 2009 06:07:09 +0300 [thread overview]
Message-ID: <546b82ff577223765f15eb26f2f6b300@localhost> (raw)
In-Reply-To: <20091013185637.870369c8.akpm@linux-foundation.org>
On Tue, 13 Oct 2009 18:56:37 -0700, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Tue, 06 Oct 2009 16:07:51 +0100 Alan Cox <alan@linux.intel.com>
wrote:
>
>> The SC1200 needs a NULL terminator or it may cause a crash on boot.
>>
>> Bug #14227
>>
>> Also correct a bogus comment as the driver had serializing added so can
>> run
>> dual port.
>>
>> Signed-off-by: Alan Cox <alan@linux.intel.com>
>> ---
>>
>> drivers/ata/pata_sc1200.c | 3 +--
>> 1 files changed, 1 insertions(+), 2 deletions(-)
>>
>>
>> diff --git a/drivers/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c
>> index f49814d..3bbed83 100644
>> --- a/drivers/ata/pata_sc1200.c
>> +++ b/drivers/ata/pata_sc1200.c
>> @@ -235,8 +235,7 @@ static int sc1200_init_one(struct pci_dev *dev,
>> const struct pci_device_id *id)
>> .udma_mask = ATA_UDMA2,
>> .port_ops = &sc1200_port_ops
>> };
>> - /* Can't enable port 2 yet, see top comments */
>> - const struct ata_port_info *ppi[] = { &info, };
>> + const struct ata_port_info *ppi[] = { &info, NULL };
>>
>> return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
>> }
>
> This patch applies to 2.6.31 and 2.6.30 (at least). How far back
> should it be ported?
>
> There was no Cc:stable in the changelog.
>
> There was no Cc:stable in the mail headers. Nor cc:linux-ide.
>
> Adding a Reported-by: is nice.
>
> Please use the form
>
> Addresses http://bugzilla.kernel.org/show_bug.cgi?id=14227
>
> when mentioning bugzilla reports within changelogs. To provide a nice
> greppable pattern for those people who might close off old reports for
us.
According to the git-tree this feature was introduced on linux kernel
2.6.30:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.30.y.git;a=commitdiff;h=c0f2ee34a5a0b79fd98d965ad8ae765d4639bfa5
2.6.29 and older kernels do not have this change/feature
next prev parent reply other threads:[~2009-10-14 3:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20091006150737.9610.81541.stgit@localhost.localdomain>
2009-10-14 1:56 ` [PATCH] pata_sc1200: Fix crash on boot Andrew Morton
2009-10-14 3:07 ` Alexandros C. Couloumbis [this message]
2009-10-14 12:00 ` Alan Cox
2009-10-14 12:12 ` Bartlomiej Zolnierkiewicz
2009-10-14 12:25 ` Alan Cox
2009-10-14 12:52 ` Jeff Garzik
2009-10-14 12:38 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=546b82ff577223765f15eb26f2f6b300@localhost \
--to=alex@ozo.com \
--cc=akpm@linux-foundation.org \
--cc=alan@linux.intel.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).