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>] [day] [month] [year] [list]
Message-ID: <CA+G9fYuYV-JUO5iZAWdh+_WooeiXhwNMh+xr24P2WDHPagTGJA@mail.gmail.com>
Date:   Sun, 5 Sep 2021 19:58:19 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     "open list:KERNEL SELFTEST FRAMEWORK" 
        <linux-kselftest@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        linux-stable <stable@...r.kernel.org>
Cc:     Shuah Khan <shuah@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Sasha Levin <sashal@...nel.org>,
        Gerd Hoffmann <kraxel@...hat.com>,
        Tom Murphy <murphyt7@....ie>,
        Daniel Vetter <daniel.vetter@...ll.ch>
Subject: udmabuf.c:30:17: warning: implicit declaration of function 'open'

Following build warnings noticed while building stable-rc Linux 5.14.1-rc1
with gcc-11 for arm64 architecture.

aarch64-linux-gnu-gcc -I../../../../../usr/include/    udmabuf.c  -o
kselftest/drivers/dma-buf/udmabuf
udmabuf.c: In function 'main':
udmabuf.c:30:17: warning: implicit declaration of function 'open'; did
you mean 'popen'? [-Wimplicit-function-declaration]
   30 |         devfd = open(/dev/udmabuf, O_RDWR);
      |                 ^~~~
      |                 popen
udmabuf.c:42:15: warning: implicit declaration of function 'fcntl'
[-Wimplicit-function-declaration]
   42 |         ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK);
      |               ^~~~~
make[3]: Leaving directory
'/builds/linux/tools/testing/selftests/drivers/dma-buf'

Build config:
https://builds.tuxbuild.com/1xXcUtI2INra8KaHjOXXQMOyAD0/config

Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

meta data:
-----------
    git_describe: v5.14-rc6-389-g95dc72bb9c03,
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc,
    git_sha: 95dc72bb9c032093e79e628a98c927b3db73a6c3,
    git_short_log: 95dc72bb9c03 (\Linux 5.14.1-rc1\),
    kconfig: [
        defconfig,
        https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/lkft.config,
        https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/lkft-crypto.config,
        https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/distro-overrides.config,
        https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/systemd.config,
        https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/virtio.config,
        CONFIG_ARM64_MODULE_PLTS=y
    ],
    kernel_version: 5.14.1-rc1,
    target_arch: arm64,
    targets: [
        dtbs,
        dtbs-legacy,
        headers,
        kernel,
        kselftest,
        kselftest-merge,
        modules
    ],
    toolchain: gcc-11,

steps to reproduce:
https://builds.tuxbuild.com/1xXcUtI2INra8KaHjOXXQMOyAD0/tuxmake_reproducer.sh

--
Linaro LKFT
https://lkft.linaro.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ