clean-up: fixes "shadows global" warning
PATCH 1/1 clean-up: fixes "shadows global" warning
This patch fixes warning "declaration of `index' shadows a global declaration" occuring on line 384
Signed-off-by Riina Kikas <[email protected]>
mm/swap.c +2 -2
@@ -381,9 +381,9 @@ }unsigned pagevec_lookup_tag (struct pagevec *pvec,struct address_space *mapping, -pgoff_t *index,int tag,unsigned nr_pages) +pgoff_t *asc_index,int tag,unsigned nr_pages) { - pvec->nr =find_get_pages_tag (mapping, index, tag, + pvec->nr =find_get_pages_tag (mapping, asc_index, tag, nr_pages, pvec->pages);return pagevec_count (pvec); }