[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYve66bw-4xVrJnfeXtRV1et1UhEZMFAvvTXbKB2-m--fg@mail.gmail.com>
Date: Mon, 1 Jul 2024 15:35:23 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: lkft-triage@...ts.linaro.org, open list <linux-kernel@...r.kernel.org>,
Linux Regressions <regressions@...ts.linux.dev>, linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
linux-mm <linux-mm@...ck.org>
Cc: Dan Carpenter <dan.carpenter@...aro.org>, Anders Roxell <anders.roxell@...aro.org>,
Arnd Bergmann <arnd@...db.de>, "Naveen N. Rao" <naveen.n.rao@...ux.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: mm: gup.c:2827:22: error: conflicting types for 'try_grab_folio_fast';
have 'struct folio
The powerpc build failures noticed on Linux next-20240628 tag.
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
Regressions found on powerpc:
- gcc-13-maple_defconfig
- gcc-13-cell_defconfig
- clang-nightly-maple_defconfig
- gcc-8-defconfig
- gcc-8-tqm8xx_defconfig
- clang-18-tqm8xx_defconfig
- gcc-8-maple_defconfig
- clang-nightly-cell_defconfig
- clang-18-maple_defconfig
- gcc-13-defconfig
- clang-18-defconfig
- clang-nightly-defconfig
- gcc-13-tqm8xx_defconfig
- clang-nightly-tqm8xx_defconfig
- gcc-8-cell_defconfig
- clang-18-cell_defconfig
Build error:
---
mm/gup.c: In function 'gup_hugepte':
mm/gup.c:525:25: error: implicit declaration of function
'try_grab_folio_fast'; did you mean 'try_grab_folio'?
[-Werror=implicit-function-declaration]
525 | folio = try_grab_folio_fast(page, refs, flags);
| ^~~~~~~~~~~~~~~~~~~
| try_grab_folio
mm/gup.c:525:23: warning: assignment to 'struct folio *' from 'int'
makes pointer from integer without a cast [-Wint-conversion]
525 | folio = try_grab_folio_fast(page, refs, flags);
| ^
mm/gup.c: At top level:
mm/gup.c:2827:22: error: conflicting types for 'try_grab_folio_fast';
have 'struct folio *(struct page *, int, unsigned int)'
2827 | static struct folio *try_grab_folio_fast(struct page *page, int refs,
| ^~~~~~~~~~~~~~~~~~~
mm/gup.c:525:25: note: previous implicit declaration of
'try_grab_folio_fast' with type 'int()'
525 | folio = try_grab_folio_fast(page, refs, flags);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Steps to reproduce:
----
# tuxmake --runtime podman --target-arch powerpc --toolchain gcc-13
--kconfig cell_defconfig
metadata:
----
git_describe: next-20240628
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: 1eb586a9782c ("Add linux-next specific files for 20240628")
arch: powerpc
toolchain: gcc-13 and clang-18
Links:
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2iWYcbTLGMcGuxl7caQ3jwv9C4a/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240628/testrun/24464887/suite/build/test/gcc-13-cell_defconfig/details/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240628/testrun/24464887/suite/build/test/gcc-13-cell_defconfig/log
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists