[S390] Fix sparse warnings.

Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
Heiko Carstens 2006-07-12 16:41:55 +02:00 • committed by Martin Schwidefsky
commit d2c993d845
40 changed files with 156 additions and 152 deletions

View file

@ -63,7 +63,7 @@ ccw_device_id_match(const struct ccw_device_id *array,
return id;
}
return 0;
return NULL;
}
/* The struct ccw device is our replacement for the globally accessible

View file

@ -142,7 +142,7 @@ pte_alloc_one(struct mm_struct *mm, unsigned long vmaddr)
pte_t *pte = pte_alloc_one_kernel(mm, vmaddr);
if (pte)
return virt_to_page(pte);
return 0;
return NULL;
}
static inline void pte_free_kernel(pte_t *pte)