Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18CCEC433F5 for ; Thu, 6 Jan 2022 09:26:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237386AbiAFJ0G (ORCPT ); Thu, 6 Jan 2022 04:26:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233813AbiAFJ0F (ORCPT ); Thu, 6 Jan 2022 04:26:05 -0500 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E49E2C061201 for ; Thu, 6 Jan 2022 01:26:04 -0800 (PST) Received: by mail-yb1-xb2b.google.com with SMTP id g80so5867745ybf.0 for ; Thu, 06 Jan 2022 01:26:04 -0800 (PST) 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=1qCNKBijl+qhalBNqXGw/nmUY/wmEYIr8f+v0ZZhmlI=; b=AMA8DX0auN2ez9j7TDDHCNP2XuOF4AMWVgkALWHapySXLQPy8AN68ezCoUNKOShE95 Jutrutgtz4ylk+WSDiGR0q4CfJpwEHGlJFu2A1d0R8AFBNro2IyWUhy6maZN2u4zQTRG V3aRSPU8fIwehB3tM4ZvDXeKQWijeR6reFCjSW1z9SjpVUdaqt1osuBtT5dPhNoQTUX4 mtNPnu5jk1S6mCQeqRAYE1fR77Q7j//ekBLPWh12H+k+RI6J/L4MVD1rM2qITg70kpHk I8qpzs0ZbuXp/Sl1PwYUpAcQjy2oiOz++pt25Q4rnEQZc7dQgWccIZ4PNFuFDguMiQnp t6AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=1qCNKBijl+qhalBNqXGw/nmUY/wmEYIr8f+v0ZZhmlI=; b=rUSKn0wF/ck/0+zOPwEjd+6vlddPAKhiy4fEXm+PJy0+8zvwJBu0TJSE/mn6ODlURC blTP+s8JktusYtthWmaQw4Fw2qdjyztGzAbE95rBDevI03vBJosaAldIMJ2lWNcYtkCT G0yGK+szt6ByOS8l3ZBfUVbiiSEHk9xIX40uOZ9AkkuaqKsHiADv1uUtjToBc9Kh8poV UTb03DB4yExeWqdmS1E+YsPK/+Iq+GBuhlknBnDmGlzVfIHZ+tPeJb7q5zFgJ/D1T9MM URNH9UMaJdyQECVrMPdAFdd4sUzxqI3HJNr6vaI/Pkl2AVbO6jaQp0JcPl8SaxASoTXX Qodg== X-Gm-Message-State: AOAM530QDDn+fx4I4lO0xY+zm+OKKkXQ+NHzurynbNVeb+OCWP3BdRho ry9S/MJidIjn7RPomtU2XYzp166fxEfuMjb1YL2JLQ== X-Google-Smtp-Source: ABdhPJxjtb00LDV2rNHY9CDeOBp8VVAoGTticmpTULfvTnd1Pgpwq9UEA8zCqiWrjoZIj9/i4i+s32db9OPvMibVvtE= X-Received: by 2002:a25:414f:: with SMTP id o76mr60050604yba.146.1641461163899; Thu, 06 Jan 2022 01:26:03 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 6 Jan 2022 14:55:53 +0530 Message-ID: Subject: test_vsyscall.c:500:22: warning: '__builtin_memcmp_eq' specified bound 4096 exceeds source size 0 To: linux-stable , "open list:KERNEL SELFTEST FRAMEWORK" , open list , lkft-triage@lists.linaro.org, X86 ML Cc: Greg Kroah-Hartman , Shuah Khan , Andy Lutomirski , Dave Hansen , Peter Zijlstra , Jann Horn , John Hubbard , Andrew Morton , "Kirill A. Shutemov" , Linus Torvalds , Anders Roxell Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While building selftests the following warnings were noticed for x86_64 architecture on Linux stable v5.15.13 kernel. metadata: git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git git commit: 734eb1fd2073f503f5c6b44f1c0d453ca6986b84 git describe: v5.15.13 toolchain": gcc-11 kernel-config: https://builds.tuxbuild.com/23HFo8abXIL6i4FFfSYiJlqAYMW/config x86_64-linux-gnu-gcc -m64 -o \ /home/tuxbuild/.cache/tuxmake/builds/current/kselftest/x86/test_vsyscall_64 \ -O2 -g -std=gnu99 -pthread -Wall -no-pie \ -DCAN_BUILD_64 test_vsyscall.c helpers.h -lrt -ldl test_vsyscall.c: In function 'test_process_vm_readv': test_vsyscall.c:500:22: warning: '__builtin_memcmp_eq' specified bound 4096 exceeds source size 0 [-Wstringop-overread] 500 | if (!memcmp(buf, (const void *)0xffffffffff600000, 4096)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Linux Kernel Functional Testing Build link: https://builds.tuxbuild.com/23HFo8abXIL6i4FFfSYiJlqAYMW/ # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-11 \ --kconfig https://builds.tuxbuild.com/23HFo8abXIL6i4FFfSYiJlqAYMW/config \ cpupower headers kernel kselftest kselftest-merge modules -- Linaro LKFT https://lkft.linaro.org