Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2054539pxb; Sun, 5 Sep 2021 07:30:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqvTxKN1GeYBSkYf/tYI/K5yKroBhPHGYsvfFFRrYeeZSGPyK5utpMwDf7cZ8rmRlYDmMF X-Received: by 2002:a92:c846:: with SMTP id b6mr5253383ilq.84.1630852246343; Sun, 05 Sep 2021 07:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630852246; cv=none; d=google.com; s=arc-20160816; b=yvmvz+uMeXJuzIes82jF9dOPxv8DCLCzWNP4kqN8FVpK8E8jnqkcIeY5BXmoTat7mJ nqfCW2eu2FRJKCTE/iyxexwNHt55TzQIz+zrO8hBniPwNjYNB9SE+fok5OvsTnnEjJV+ Y1f9y7RmIvAd1GKZTb02pzMbWXk3RXLSzblk5VAVKRL/cGNbGZOjeDnPGCyAGTUC9Zle 5ODLHnPIUoUBkd86qUilEdCPFIhcRBuUOzOXf6/pqi4tdHtYf6RYpbU28SOT9pdcXf46 29hyPd/xmPDOfVgB1Wn9ikzVHOHVJiX+9xkLB4kyfje9NFmOMjC7BZLSi2XoL8+LLgET YTEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=OeSEurl2+uMNxj+62TOY0u9X0gjRqzf7HvkH7Cdot5w=; b=trCejIPjbe6J7ddKh0pNv+rbkGWfp2ylop8or0i0iXwkgURPfUTcSgnE1g8h0UrXPw 3pRITyJhi2zEuYMIgH6qVqT3lsrqRFXbERgZXpFZ/2Y+EHMLAFex6Kc+/WqxApdz48dV ql5IV5usD9LcLBUJj6BoE9z9geD3GIsh9HG6zCVRw8VlqfXxkDOsC4QKxjmMptSdZznu jK9499XDI1VfMO5LXlVfphlYK15mz3q+gH9EvntIMdW3BO33sRNc8AWxhoFhq9XQvnUM biNyCitpDyUXaAOI0C3nhjew94oNfTJ9flvr4F0Lc7mzu3sTgm2PCwkIeTI63zeDjP1I zPCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eQ+xgutM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si4776075jab.66.2021.09.05.07.30.34; Sun, 05 Sep 2021 07:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eQ+xgutM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbhIEO3h (ORCPT + 99 others); Sun, 5 Sep 2021 10:29:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233907AbhIEO3g (ORCPT ); Sun, 5 Sep 2021 10:29:36 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC047C06175F for ; Sun, 5 Sep 2021 07:28:32 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id t19so7912761ejr.8 for ; Sun, 05 Sep 2021 07:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=OeSEurl2+uMNxj+62TOY0u9X0gjRqzf7HvkH7Cdot5w=; b=eQ+xgutM+WOZhiG81CyMUjSC4bRiNMDHUHV3e2o15+vBJHgEAp2FBXkE8un4cPEtB+ yx4pPxktEpvi1O/t13gc9BqMshV53ruIOXmh2buH5BfcDBQ44up9/NwTKXS76g2sDq+N FlUIXQheD6GGcIThrhQ6iyKUo0AKw4b6mX1FNqtNiRNtEwdVqY4ho+gd+fXroTsWvRiZ rm0XVt+XAFOffBpJ5LcbV4IfLWaMcNr2RqlaKkGpDHbp2CzmdVhGRM7o8KBEYHNlao5B PbLs+hUXVB9ELtKmqJ6RHn0EWTJww35RWo0PKZwl7L0YJd65ziPseniQsW8nZyiz9WN1 APdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=OeSEurl2+uMNxj+62TOY0u9X0gjRqzf7HvkH7Cdot5w=; b=KKmPskxR+idT7RVzX5O8u5w5OToXit8CGwQm/2N1frAjmdlvm2RZ2+iZyXZqXHPKmd W5iG6ScUslGbHSgZkeMY7oshBa4avT+D9sUjxo3s1R7KOcMZ29ebNqoKQivvoXNdya4D hxaacwbg5wQMgen+BtkE4WnOu6wvG6pd2/fTeCAn8TWRPY5g+4kT8wELIXYnAM5lVCF+ WEd0nYKDT8s+cPfhHC4CbyUF9YVuYd/0JC6D/JgMcMCSs8O3OutTS2LoFtYQCH2anfq3 ZCVfWGGmsyA+AKYzREX5XchX3BdkdkBHsn00GRnmUIZzqqvZ395bR6YAhnCRD+0zB4e0 Usug== X-Gm-Message-State: AOAM531Sfkux1uslc4fLw3PZmomD2XkfYe2hOyWctGqvmYVBd4GmyMXh ke1cO/OllyuAmyU6fX/7Ke9pQGfFjvhzhF2q1oliJQ== X-Received: by 2002:a17:906:318b:: with SMTP id 11mr9194339ejy.493.1630852110473; Sun, 05 Sep 2021 07:28:30 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Sun, 5 Sep 2021 19:58:19 +0530 Message-ID: Subject: udmabuf.c:30:17: warning: implicit declaration of function 'open' To: "open list:KERNEL SELFTEST FRAMEWORK" , open list , linux-stable Cc: Shuah Khan , Greg Kroah-Hartman , Sasha Levin , Gerd Hoffmann , Tom Murphy , Daniel Vetter Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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