Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1631958pxb; Thu, 28 Oct 2021 07:18:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa7OdwuIZITZO8Wqf40vQbfYgtcsnrEXHChbezQf/Fe9/UF8q6V/trWYNNfpjUzDUqtaoX X-Received: by 2002:a17:907:7b9e:: with SMTP id ne30mr5843465ejc.531.1635430705588; Thu, 28 Oct 2021 07:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635430705; cv=none; d=google.com; s=arc-20160816; b=VXIX9LUv9BrWnJvJeagWmD6T31WU5Y6nE7U1IiBSHOmFxg8L4aIJHPbghHXInqrOTf K0SGs9q72zh+yobJ4HQLSqfRznFF9IP1JE1vHLW4G4hA7wfqfatuATC9gOvhy/CaFY6b MfhQ5Yx4MO3IPwcRQwHJCkLvDBCkKHjoh6w1wQbx7+o1GtZ5VATHdRQSJ6BkB6qBiezN cdW9lugDwOlgj1LlrOw2y7gll34TLEfUlF2RE+45TBIA+VtnBuPjOTnFstsTkA9IlW7K Y3LmsZkixfkye6j/dBp0/woh8qEK4mTbMRATO23o91gqOr8Q/L16lBGiDeDDGezGBaRS bCOg== 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=2HfodvIKsXmdxTtsXOvx0knfgEclU3IICQbU3Ulbeso=; b=BJ0K0hXRJg8uw6ZVxjDnCjwelA5wuMXHfe1+sf5GdTp7XJJ2GGzsFdDN1fqSf0yFFO pwu470Yl8ocPlEWyM9OHS48Li0gcpRSQVwzd/zthWSNK1i+hbiOHFDQ9HgHZpTVScJv0 jtjmDdklFhrx1N6I0bRB7bQS1NC3snIH9ruAldPlwhnZjEKCYlRu7Xaw5I8+OhHHaibW TGfDXhdjFTzG0+1Dke0vkh/0IupK+M8J3ttTe617Ize0CmX2kquLNeWBEtqnluFHsKxx dknt/QM3HLuUx5HOl/ygRH/S2pL+d7rXKLm03MuuNU/TpxLS7GKQIgdVlK1EgiFa7olh UKjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AxlRapfP; 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 hg3si5096133ejc.421.2021.10.28.07.17.59; Thu, 28 Oct 2021 07:18:25 -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=AxlRapfP; 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 S231178AbhJ1OPq (ORCPT + 99 others); Thu, 28 Oct 2021 10:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230376AbhJ1OPp (ORCPT ); Thu, 28 Oct 2021 10:15:45 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7FA9C061570 for ; Thu, 28 Oct 2021 07:13:18 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id w15so25539123edc.9 for ; Thu, 28 Oct 2021 07:13:18 -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=2HfodvIKsXmdxTtsXOvx0knfgEclU3IICQbU3Ulbeso=; b=AxlRapfPYendyh+fP+pokIB+ry3X22Nm37GimJ0AKBb11iO5dWGizMLp78HALEUXk4 5FAPeUVpRwGjcTOVuKwWxCR2MyvHvIPneTVVvM4jfkMy1qGyfQcyQ8CbsIkQ0TgJxuY0 f9b+K98dwgFwGBnkl3SHdudosMM3xssdoz0ppmjfbeHoxEEv8j2C9ALZnS1zMOIGz1SL lydnO4UoGLf4MpZrliUg/6zr+BpmEj0l5gh7AshzOBYdOWLVWdB/BuGRsYxvXJM3XW5h yujhp0vNBQLqfH1EAwxlbuqyfJ5p6dCNZ5PqRwKYcsBhtYqdMZ0jg9QWzndD2y6XStTe ZHbQ== 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=2HfodvIKsXmdxTtsXOvx0knfgEclU3IICQbU3Ulbeso=; b=roG72/+uvx/J/hspc/83CP5SZhPEibomLDYnXnwHbxxsHQWVydgx7sKlchAngloCrD fVjo7UIsOoExpTHPk/FO0FzHcbtHjeqT3VCh4fJbAA0luta6K6X9f1jFtyea3hlnQzIm 5fFarrmLko59U0Q+6cWwu3Tk/ZQTDp/IPgXp2chnuQy+Nmh7ocrfclX2PqeqsugxGUg3 3ehdQUBKtSt6wHOMpHkpI1xGOY0Wlb5Np/hnLC6mHBENIz6vzVEgSQWqaxJzx8AGkzos Fy0hDTy9aZ3CvBhQZWWL1hxJRvTicIzRSFzzRwVIyR74XzAOpEtGQ1AlsBCwOhOF8Cm4 0ldw== X-Gm-Message-State: AOAM533qHzeCTqQlOoaoFFp1DLtqW1rty0OFLiN0PuJrM+Ia/3v77YUM hYdir9eRH5akSM9hEYB2YAkrhqhk+BaOhbcvMIsBASXqwXHR4w== X-Received: by 2002:a17:906:c7c1:: with SMTP id dc1mr5908906ejb.6.1635430396601; Thu, 28 Oct 2021 07:13:16 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 28 Oct 2021 19:43:04 +0530 Message-ID: Subject: s390: facility.h:98:22: error: implicit declaration of function 'min_t' [-Werror=implicit-function-declaration] To: linux-s390@vger.kernel.org, open list , Linux-Next Mailing List , lkft-triage@lists.linaro.org Cc: Heiko Carstens , Christian Borntraeger , Vasily Gorbik , Alexander Gordeev , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Regression found on s390 gcc-11 built with defconfig Following build warnings / errors reported on linux next 20211028. metadata: git_describe: next-20211028 git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_short_log: 503f375baa99 (\"Add linux-next specific files for 20211028\") target_arch: s390 toolchain: gcc-11 build error : -------------- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] In file included from arch/s390/pci/pci_insn.c:12: arch/s390/include/asm/facility.h: In function '__stfle': arch/s390/include/asm/facility.h:98:22: error: implicit declaration of function 'min_t' [-Werror=implicit-function-declaration] 98 | nr = min_t(unsigned long, (nr + 1) * 8, size * 8); | ^~~~~ arch/s390/include/asm/facility.h:98:28: error: expected expression before 'unsigned' 98 | nr = min_t(unsigned long, (nr + 1) * 8, size * 8); | ^~~~~~~~ cc1: some warnings being treated as errors Reported-by: Linux Kernel Functional Testing build link: ----------- https://builds.tuxbuild.com/208R0Wv3siu0646e0z4lUYcUQD3/build.log build config: ------------- https://builds.tuxbuild.com/208R0Wv3siu0646e0z4lUYcUQD3/config # To install tuxmake on your system globally # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch s390 --toolchain gcc-11 --kconfig defconfig -- Linaro LKFT https://lkft.linaro.org