Skip to content

Commit 79c09c7

Browse files
Qi Zhengakpm00
authored andcommitted
s390-supplement-for-ptdesc-conversion-v2
fix build failure Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Qi Zheng <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Janosch Frank <[email protected]> Cc: Claudio Imbrenda <[email protected]> Cc: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 08b4cfd commit 79c09c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/s390/mm/gmap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ static void gmap_free(struct gmap *gmap)
206206

207207
/* Free additional data for a shadow gmap */
208208
if (gmap_is_shadow(gmap)) {
209-
struct ptdesc *ptdesc;
209+
struct ptdesc *ptdesc, *n;
210210

211211
/* Free all page tables. */
212-
list_for_each_entry_safe(ptdesc, next, &gmap->pt_list, pt_list)
212+
list_for_each_entry_safe(ptdesc, n, &gmap->pt_list, pt_list)
213213
page_table_free_pgste(ptdesc);
214214
gmap_rmap_radix_tree_free(&gmap->host_to_rmap);
215215
/* Release reference to the parent */

0 commit comments

Comments
 (0)