CC drivers/ata/libata-eh.o drivers/ata/libata-eh.c: In function ‘ata_eh_analyze_ncq_error’: drivers/ata/libata-eh.c:1642: warning: ‘tf.flags’ may be used uninitialized in this function Signed-off-by: Fang Wenqi <antonf@xxxxxxxxxxxxxxxxx> --- drivers/ata/libata-eh.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 9f6cfac..125ec25 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -1601,7 +1601,7 @@ void ata_eh_analyze_ncq_error(struct ata_link *link) struct ata_eh_context *ehc = &link->eh_context; struct ata_device *dev = link->device; struct ata_queued_cmd *qc; - struct ata_taskfile tf; + struct ata_taskfile uninitialized_var(tf); int tag, rc; /* if frozen, we can't do much */ -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html