Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp591549pxh; Tue, 9 Nov 2021 15:49:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyoCtaC5//1IFHBX8R/5NtY+LI1WHDNI/CPpepGKWukN9sf8b8SmNaGi/lZ82iWSQWK1PJv X-Received: by 2002:a05:6602:2c45:: with SMTP id x5mr7739373iov.94.1636501762288; Tue, 09 Nov 2021 15:49:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636501762; cv=none; d=google.com; s=arc-20160816; b=bAd4QdtNwRfAK2iKsbVKN6CIxo4Yug0Cpfob3uRPMps9k5QCW7tTngZo/Ny1LhQ/+i xhDnptBYi5++W9+47EyhTRvCbWhWzTDN+mqdkf7FC9xRo71L41djo9iZubxlzABZn7vg dkxE4M10hSatEBlr5MdD5FjEPpklZ8nsA2KEev1lek7rzteyAP6YgpxybwVKSYpkLNIe i/q64xbQlJWmwBkSXxnD6Y3D7eDsGKNqCWQD39wa0gDXfkxR1T5+JMgefnOP8LVR0qk6 j07p6ahTbUEEpG0CSY//yTiGHHgCv6gJqQmUzOPpYmq0ojGfhIdflhvxJR+NQR51vCST H3tQ== 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=z/G52I1JExpiE6TsSsLB/EzgZR9OB61hQ9ixNpsTNBE=; b=zajcPSnHMsyz5q4DgElvgfvP8dtnW5gcTJ2lOQlPeePuBoT1kmvkuT530HAqNGPelM Er/D1t1aA+vssDedNFVbrSvLBCkcGn/8nzg6mSwPlShknhwjY+kq4PZ0VdaeuYWXBmEO P6Mj9aV8C/HyGPRpBtwgTaIZ/bOszal55b/pJdC6XCkzWzKhcqB9Pds6b/W12UA60+wF Es/lXgtPyYMFAXlX1C3Xo06B/SvWoaAUEPN7xDZM945f94E0z9A1uliOHLsIBcP+vlo3 oDqwxN0rWA/aS+1t88mxuADbIaShWZX6JjP7yQwMTYDuu0QsWN6tBn9kdcrlkVXNl1wq Ecsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CuUtxJN4; 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 i15si29102244ion.80.2021.11.09.15.49.09; Tue, 09 Nov 2021 15:49:22 -0800 (PST) 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=CuUtxJN4; 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 S231644AbhKINKs (ORCPT + 97 others); Tue, 9 Nov 2021 08:10:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbhKINKr (ORCPT ); Tue, 9 Nov 2021 08:10:47 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00C21C061764 for ; Tue, 9 Nov 2021 05:08:01 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id r12so76223668edt.6 for ; Tue, 09 Nov 2021 05:08:01 -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=z/G52I1JExpiE6TsSsLB/EzgZR9OB61hQ9ixNpsTNBE=; b=CuUtxJN4kwqiRiUowjq6mEvwrxbwdABBDFwboec9BwfBBdNKP+Sd0FJQ2oNClGFe3j 6hsijBoQm6PVzx6rpcsIRMF5nRChEyRXjOnRF7zObCZ9zs4W8FYbDC3TqL5MdAIVjBzo milLxaXzmLHeJMIuFzf6v9W2QcdoPHr5bOLCBxuINtH/rYcVZXYJ7/O9um2gEGlnmlV4 i4JxLxE1na3/h7vZTOWyGhLU1UZddywmHh87pC7KQNPyFcMH50nZ1Q6NqNgMMVnb6Bun 0Qa1yfv8qDXSQfGhd6TknCcoLaUoj/aqjFVp02cArCjNPQuuLnPq24D2oN+Dyssuf2+L cPrA== 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=z/G52I1JExpiE6TsSsLB/EzgZR9OB61hQ9ixNpsTNBE=; b=65OKM62SesnUu3hUEM+lAOvXNHcpnnrqnYXICZV8lwywGNt3ehHncYnKsilGSGTsW6 QIHV4VXeXNX43iRoOCNgL9v36pnEnqGkJnGjhFEx+9JVdHHd3dAJbonYH+x0Tq7Beb8b s4gfN5bOuDR0cMfsT2RC1g7EXxGajRigsq0FGCYVUpP+xQcRc5LnFh5ZWA9iCpwlM6qV VeH6saOXX9qzGqla2H2tINQz3HbowlQUQoJBShrnAhbZjOnvbqhDMREx6MSVsHkBv2fg QScP07yKWh/pLviuaOv1MiRpO01utYQVHSV5Cvtr6v3PwceQNIXPwt56FiTEwJXF8Uap +1pQ== X-Gm-Message-State: AOAM532xcuqT4y9KgvY2fx0LJbSo81Br9Q4qGEg/RHF+TcuoIhDmcZb/ VfRZJjEh3b8ztuJ/zraT2xzKQdp70vXNfsKIG8XdFFlaHJM7rA== X-Received: by 2002:a50:e184:: with SMTP id k4mr10018486edl.217.1636463280343; Tue, 09 Nov 2021 05:08:00 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Tue, 9 Nov 2021 18:37:48 +0530 Message-ID: Subject: powerpc: mcu_mpc8349emitx.c:189:13: error: unused variable 'ret' [-Werror=unused-variable] To: Paul Mackerras , linuxppc-dev , open list , Linux-Next Mailing List Cc: Scott Wood , Michael Ellerman , Benjamin Herrenschmidt , Stephen Rothwell , Anders Roxell Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Please ignore this email if it is already reported ] Regression found on powerpc gcc-8/9/10 and gcc-11 built with ppc6xx_defconfig Following build warnings / errors reported on linux next 20211109. metadata: git_describe: next-20211109 git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_short_log: c8109c2ba35e (\"Add linux-next specific files for 20211109\") target_arch: powerpc toolchain: gcc-11 build error : -------------- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c: In function 'mcu_remove': arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c:189:13: error: unused variable 'ret' [-Werror=unused-variable] 189 | int ret; | ^~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:288: arch/powerpc/platforms/83xx/mcu_mpc8349emitx.o] Error 1 make[4]: Target '__build' not remade because of errors. make[3]: *** [scripts/Makefile.build:571: arch/powerpc/platforms/83xx] Error 2 Reported-by: Linux Kernel Functional Testing build link: ----------- https://builds.tuxbuild.com/20fICxLPRCpcISasoGwKGICBELv/build.log build config: ------------- https://builds.tuxbuild.com/20fICxLPRCpcISasoGwKGICBELv/config # To install tuxmake on your system globally # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch powerpc --toolchain gcc-11 --kconfig ppc6xx_defconfig -- Linaro LKFT https://lkft.linaro.org