mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[S390] Fix sparse warnings.
Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
7e560814de
commit
d2c993d845
40 changed files with 156 additions and 152 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue