mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-19 03:31:25 +00:00
powerpc/mm: remove const type qualifier from function ‘pud_pfn’
Type qualifier on return type is ignored. Remove warning in W=1: arch/powerpc/include/asm/book3s/64/pgtable.h:1268:25: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
beba24ac59
commit
c516886f84
@ -1304,7 +1304,7 @@ static inline int pgd_devmap(pgd_t pgd)
|
||||
}
|
||||
#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
|
||||
|
||||
static inline const int pud_pfn(pud_t pud)
|
||||
static inline int pud_pfn(pud_t pud)
|
||||
{
|
||||
/*
|
||||
* Currently all calls to pud_pfn() are gated around a pud_devmap()
|
||||
|
Loading…
x
Reference in New Issue
Block a user