lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKwvOd=kPA=FV9UQXLe1eyRwqDOYrRkB+_d+E+JdY4BpRUUaRA@mail.gmail.com>
Date:   Tue, 25 Oct 2022 09:33:42 -0700
From:   Nick Desaulniers <ndesaulniers@...gle.com>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
Cc:     open list <linux-kernel@...r.kernel.org>,
        lkft-triage@...ts.linaro.org,
        Nathan Chancellor <nathan@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Ammar Faizi <ammarfaizi2@...weeb.org>,
        clang-built-linux <llvm@...ts.linux.dev>
Subject: Re: Clang Build warning detected - include/linux/memremap.h:258:9:
 error: expression which evaluates to zero treated as a null pointer constant
 of type 'struct folio *' [-Werror,-Wnon-literal-null-conversion]

On Mon, Oct 24, 2022 at 9:19 PM Naresh Kamboju
<naresh.kamboju@...aro.org> wrote:
>
> Following build warning / errors noticed while building x86_64 with clang
> on Linux next-20221025 tag.
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

Hi Naresh,
Thanks for the report. It looks like AKPM is already aware.
https://lore.kernel.org/llvm/20221022163356.f5e08eeefe66fc71845be861@linux-foundation.org/

Naresh, for future reports, can you use our newer mailing list
<llvm@...ts.linux.dev> rather than our older one
(<clang-built-linux@...glegroups.com>).  I haven't actually closed the
old one, but the new one is syndicated on lore.
https://lore.kernel.org/llvm/

>
> ## Build
> * kernel: 6.1.0-rc1
> * git: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
> * git branch: master
> * git commit: 76cf65d1377f733af1e2a55233e3353ffa577f54
> * git describe: next-20221024
> * test details:
> https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221024
>
> ## Test Regressions (compared to next-20221021)
> * i386, build
>   - clang-12-lkftconfig
>   - clang-13-lkftconfig
>   - clang-14-lkftconfig
>   - clang-nightly-lkftconfig
>
> * x86_64, build
>   - clang-12-lkftconfig
>   - clang-13-lkftconfig
>   - clang-14-lkftconfig
>   - clang-nightly-lkftconfig
>
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1
> ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- HOSTCC=clang CC=clang
> In file included from arch/x86/kernel/asm-offsets.c:13:
> In file included from include/linux/suspend.h:5:
> In file included from include/linux/swap.h:9:
> In file included from include/linux/memcontrol.h:20:
> In file included from include/linux/mm.h:31:
> include/linux/memremap.h:258:9: error: expression which evaluates to
> zero treated as a null pointer constant of type 'struct folio *'
> [-Werror,-Wnon-literal-null-conversion]
>         return false;
>                ^~~~~
> 1 error generated.
> make[2]: *** [scripts/Makefile.build:118: arch/x86/kernel/asm-offsets.s] Error 1
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org
>
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@...glegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/CA%2BG9fYvGe%2BfHXw8RMeZuXB-rGVDjs81m9_RwDq73R%2BpnVpYjEw%40mail.gmail.com.



-- 
Thanks,
~Nick Desaulniers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ