]> err.no Git - linux-2.6/commit
ata: fix sparse warning in sata_promise.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 14 Feb 2008 05:14:08 +0000 (21:14 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 15 Feb 2008 18:50:59 +0000 (13:50 -0500)
commit6903c0f7efe907ada1b9636b52c5ae11fd51ab68
tree4bf8744af5360c44ab4f484c3de715b5250126e8
parent018d982721209241ede1180aa795d68833c26b10
ata: fix sparse warning in sata_promise.c

drivers/ata/sata_promise.c:546:15: warning: symbol 'len' shadows an earlier one
drivers/ata/sata_promise.c:538:6: originally declared here

len is set again immediately after the loop, so this is safe.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_promise.c