mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
018d982721
commit
6903c0f7ef
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ static void pdc_fill_sg(struct ata_queued_cmd *qc)
|
|||
idx = 0;
|
||||
for_each_sg(qc->sg, sg, qc->n_elem, si) {
|
||||
u32 addr, offset;
|
||||
u32 sg_len, len;
|
||||
u32 sg_len;
|
||||
|
||||
/* determine if physical DMA addr spans 64K boundary.
|
||||
* Note h/w doesn't support 64-bit, so we unconditionally
|
||||
|
|
|
|||
Loading…
Reference in a new issue