lkml.org 
[lkml]   [2010]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[008/117] libata: ensure NCQ error result taskfile is fully initialized
    2.6.33-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    before returning it via qc->result_tf.

    From: Jeff Garzik <jeff@garzik.org>

    commit a09bf4cd53b8ab000197ef81f15d50f29ecf973c upstream.

    Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/ata/libata-eh.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/ata/libata-eh.c
    +++ b/drivers/ata/libata-eh.c
    @@ -1628,6 +1628,7 @@ void ata_eh_analyze_ncq_error(struct ata
    }

    /* okay, this error is ours */
    + memset(&tf, 0, sizeof(tf));
    rc = ata_eh_read_log_10h(dev, &tag, &tf);
    if (rc) {
    ata_link_printk(link, KERN_ERR, "failed to read log page 10h "



    \
     
     \ /
      Last update: 2010-05-12 10:17    [W:0.030 / U:1.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site