Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2147508pxb; Thu, 28 Oct 2021 17:28:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoZxP+jc8SUVpBc3clquC9zSErkjCxa8g6sQGtIFeMwwehLo87t3zmkuCctQYrqCacKONT X-Received: by 2002:a17:906:234f:: with SMTP id m15mr2814754eja.380.1635467321851; Thu, 28 Oct 2021 17:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635467321; cv=none; d=google.com; s=arc-20160816; b=LmVGAHHoiDghAXPSSZsD5Rj3UYINHHQDmXLmJBr7/9xowD2IVTWAt4wQ6xpLPM37lj RD4QRHC8uOam3JbzKJJyZGXW2ZSzSkY1W7aL8xCkwzV4k7C+ryjFsWQYru2zIhvCx5Fg lOjiOUXgmkkwO3NbzmDpJhL43toRZcqXnFpCQufCZWJsUcui6J/0LMxwLyZSAgFqRzul qTaovzftX7e3+AHXnBuM+c5IxGiqBsAHgqAL0NYipd7HAbfPmIj3IocarlsNJ5HK3dUn xk60MJOPAxTlfTkHg4Ww85mQPSfY9sKi4r7t3Enj+geQRv3C2KtKKxkMmWRX14LdS5dl OBiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UveeGpRLd5fGY8r9sRKn/+epHdsqzILjhPdQR1yYPFs=; b=skwJWSFOZuW37a09aWEiGMb+7XaXgUuEw0cNW7xZIQhgDqAVlJ4VMTzwgq4UdRYsdS NSFn5T2+R6Uomm3WceNecC75WsRBgd7ctn0e6XhhxFHatMpG+dQK5IQghpH7dEtyKhPs ySzKTcfpIDjGztvk99QNPxDqKZ9rV9QL+CxyuCB68Few+aL0O9GiH/H3g4mtDHEZu7MB 5u0GruTtWcPau095dHmqReFCQ3+X7h63wGfYo8f/rltRwi5r7rZWB32TNbKTOJMP3gx7 w7zgm6uj8z1eydkfGwrU2/4juoiF/UTAnIvx66kp438WSpShTj2f47veUHrjqPh7+xcw fmQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=4pfK0r5V; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l17si5672872ejn.343.2021.10.28.17.28.17; Thu, 28 Oct 2021 17:28:41 -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=@infradead.org header.s=bombadil.20210309 header.b=4pfK0r5V; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231270AbhJ2A3D (ORCPT + 99 others); Thu, 28 Oct 2021 20:29:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbhJ2A3D (ORCPT ); Thu, 28 Oct 2021 20:29:03 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E40CBC061570; Thu, 28 Oct 2021 17:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=UveeGpRLd5fGY8r9sRKn/+epHdsqzILjhPdQR1yYPFs=; b=4pfK0r5VWKZeMqkQzaVcqy5dnJ EsS6+yw1M0W7eITgqAH9AYTp09xC2WfgGpqPv8ARBih1apWjCPQIzELJKD/EfcyQ0k1Q99LhNT8xm tT5P8+9F1dQ/0GrDF6Mtp8BvBDS4xFyBW8Fvw4omuipqkIC5+mf3grfIJdlUpRqf/oeJMusALXF3L DjPSDcBeOK3R1WuFxVO2fQEoYUZDcprICblegZyGunyWmX8f702Pmmuy9OmHNSAKgVtWwpeIGsEeF EzaOu5I1zhp5/1ij3VqWYD6Xa7hD0+hhqPWKTFV4nHN0xFcRiobS37gs1On5i88Pc0Ou8dPVdTr+Z KQufX/oQ==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgFj8-009NDe-26; Fri, 29 Oct 2021 00:26:34 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Linux Kernel Functional Testing , Naresh Kamboju , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Subject: [PATCH] s390: add to Date: Thu, 28 Oct 2021 17:26:33 -0700 Message-Id: <20211029002633.31323-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org S390's uses the min_t() macro, so it should include to avoid build errors. 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); Fixes: 4f18d869ffd0 ("s390: fix stfle zero padding") Signed-off-by: Randy Dunlap Reported-by: Linux Kernel Functional Testing Cc: Naresh Kamboju Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: linux-s390@vger.kernel.org --- arch/s390/include/asm/facility.h | 1 + 1 file changed, 1 insertion(+) --- linux-next-20211028.orig/arch/s390/include/asm/facility.h +++ linux-next-20211028/arch/s390/include/asm/facility.h @@ -9,6 +9,7 @@ #define __ASM_FACILITY_H #include +#include #include #include #include