Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2055647pxb; Sun, 5 Sep 2021 07:32:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP5ZK/ZRWhGrBgGKbW1JkZ2qLdehNA8nZVRKFN4Gc7a9D1LzVovG76p+BeeSA1LquncGbV X-Received: by 2002:a05:6e02:1546:: with SMTP id j6mr5413901ilu.154.1630852335496; Sun, 05 Sep 2021 07:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630852335; cv=none; d=google.com; s=arc-20160816; b=zUVJfASp1aMdxj5qjfRh/Q19QZtIx7/su3Oos7jTdIyyeHfJkk0YaNK/GwbIT6Hivv nt72J39j6s4D6Axuei98fTqchBcI57E+hvth/OaCx8JWxvEhUsQl/sO0S2M2rLamXCeJ g3oEhsuhgUHEATjMKkqjgeR/OAnsCcTq+b84dnkHHbbr701+vz3liST6pmhCqRoAM7n5 naS5pYvDFjGPzKUFf+0IbUkvw7fds5hUFSllrjU2QRe/YKib1QWqmSjv5i7tLVD530bz zakzkJscWJZ34ytyLl4mUp43htZJchco0mnXVo9dFh9s3iyn+i/knS23rXPWQykvYWRY +Y2A== 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=7/1jDOGzfp3PXRcY9mA9mIPbXo8eoYQIufcyNrSrdxM=; b=mjNUBdToUlvFpN92x6Cfyhw/eGsCnVTqN377Idrp+8d8ulog487+SAg3tJHNoAccEH 9P6ZR30g6VYKiJ4SzsNmQhPrip+YUopSzZMDwqfZK4rfzz+RCFNrVjSXCH2XgfRCVCBL Q+JDDW6qu/TsHGLQ2o2L0BLqslTTHjrvbm4gROZniKnhtff0WcDkEnEtertk1jLy4aXW hHRb/zd+xRnHxCgX25uvBlUZjotzMY358deDXqCckdfmzq4KRNsoZ2oeHx6/c2Au4ctM jyActeI+CjhpY9cBc4QYwiKhcPZ0Z1WeszoDMqxFn81fBtGAMPBZ1aW+mG3DalE1wM8m dnHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ysj6gmVc; 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.32.03; Sun, 05 Sep 2021 07:32:15 -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=ysj6gmVc; 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 S234273AbhIEOcK (ORCPT + 99 others); Sun, 5 Sep 2021 10:32:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbhIEOcJ (ORCPT ); Sun, 5 Sep 2021 10:32:09 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DFDDC061757 for ; Sun, 5 Sep 2021 07:31:06 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id j13so5665128edv.13 for ; Sun, 05 Sep 2021 07:31:06 -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=7/1jDOGzfp3PXRcY9mA9mIPbXo8eoYQIufcyNrSrdxM=; b=ysj6gmVcqNHadgXS9+bDPwQsbxGxVvOIR/E3NWp852m68iBMAwhSXd6/07o+6DMJsr k/DirnKmIctct/dhSj0twwPKBli9JeeYmVrj2/Mk2Ofq3CAdniV5ae5/0qnSjgf2wkBo daX+WtqPeBMJtXhF/7jezOqmmRlTt3GmPO7OrZV4zlRK0JhF6BOxJSNexqT2eYkOaG/3 424dfGfyKbBB5BkXMHhB/7g8OAV9gVN4b0O87tF8TzoHzy2yH/EEDqxS+iP0vRM0GOLv eqFjRtXTuuo44PGn8M2KWjqkNkgN89PWGai9S2WsFUBybPbZAZHCQm3/5Qbtcsa805gr ZoAQ== 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=7/1jDOGzfp3PXRcY9mA9mIPbXo8eoYQIufcyNrSrdxM=; b=GOGW0cUeB6muk8elJK8GYjwSOsYNR1//RxXtnU9SDcv+lRxk4vHl/gw1t2mDRbq4o8 qU09Spjh7Cladbi7iutdybOgjYW7KUzvQkz1FvStivRcul8WyXyGQUzwAduiAIeHskj2 v9zqWkFnA2RUJYRpXceVz6X9sNRlK6xYtmF2czijMnXxuoRfJz1T4i5ERnjlNXEc7VKj iaK4Ugpux9+lhE3V67JfFiDqyLHfHIWg1IeTvG2LbVQHKDVEQAfAL35NtZsBUDWrXYH8 xn+q1FgunB8/KDeuy+b0nAD+wx4ceHwFrf5fbFOUCobU/SmAwJV6CJX6wn2HQLS+C7kj DndA== X-Gm-Message-State: AOAM530/zkUqVfzQyZtLVM786tMQy24ydjOGqhAOzgKxk3exYVjDFEx1 BZSxapF96poh4NgToBe9ZmrU8E8Huk3/+uEOPmpB2g== X-Received: by 2002:aa7:d3c7:: with SMTP id o7mr8971267edr.288.1630852265055; Sun, 05 Sep 2021 07:31:05 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Sun, 5 Sep 2021 20:00:54 +0530 Message-ID: Subject: proc-pid-vm.c:214:19: warning: 'str_vsyscall' defined but not used To: "open list:KERNEL SELFTEST FRAMEWORK" , open list , linux-stable Cc: Shuah Khan , Greg Kroah-Hartman , Sasha Levin , lkft-triage@lists.linaro.org, Alexey Dobriyan , Andrew Morton 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 -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-pid-vm.c -o kselftest/proc/proc-pid-vm proc-pid-vm.c:214:19: warning: 'str_vsyscall' defined but not used [-Wunused-const-variable=] 214 | static const char str_vsyscall[] = | ^~~~~~~~~~~~ proc-pid-vm.c:212:13: warning: 'g_vsyscall' defined but not used [-Wunused-variable] 212 | static bool g_vsyscall = false; | ^~~~~~~~~~ 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