Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2671509pxb; Sun, 28 Feb 2021 09:04:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2G85fp1rW00DnO4c/UUa0DaIVi2TYyHTm28ETnDM5JoU9pnBKgDmdszwqiKvzOYQoMPd+ X-Received: by 2002:a05:6402:1a3c:: with SMTP id be28mr12067576edb.125.1614531848415; Sun, 28 Feb 2021 09:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614531848; cv=none; d=google.com; s=arc-20160816; b=vFUETf8ZKL7qhjrUBXnXt8UynG9g6jcFK4HHXRsSS1ZjmKE6PP002fuuaQtabZFf59 heT0gz7k55+whv4ojENqw77NazuUoxy24rCd1zQiFnwwiQ0v32Nco2KDaVgtC+GjawIs 48srize0y7ouyixGZ6pSWM0bpOM2nudOg0E61w6dtlePMI6ZSIMPgQtNYn6a7MHZ21wa p1DnqNdZpt717TPGuCM7EOG8kdGaXAK5uRF/g3B/VrOBFAsVauBCanjt2yL9a0l6RbG/ wJBdPJvxIycjTOTN1wxqThSkxKCz8ww+ctWVHnL4RHTeCccR/VF8g46oAgTDpHrBrv58 5IaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CPEIN09wDGtkCb8Hq6OIvTK/905Oh/m5CADJ4r6c2LE=; b=fCEd2U6+nCS/QqP4F00o1IrlKJ3kGsWV7Yn6FY4/A6scM+Ve4ccR59ejMOv8r6LEMZ bY5S8Ppr2vmdkcrq2aFyt3hZX1N236TQb+4aZphyUPTwibsI0Pyncof+Wgn6GgUrQmpg UHIMW6P7Sb1HpUDfOoz3MSPgoF956dg5OzHX33OdZzyM57ot1tB2rS3B7ugipuYncMnc oIxx2QoAeRQ/cI69i9wXci0zfA4hECWjkhA3Ufq/7SlSebKVd94pJrmJbX8ySH2C7v86 sPK8sleETg1qR4Xs2IRqtzuYYXwYJALJuJ3aqwqPCf6OMzP7O+iNYP8M1TkqEyWohY+J 4wGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fyKtar+R; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si9159724edm.386.2021.02.28.09.03.45; Sun, 28 Feb 2021 09:04:08 -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=@gmail.com header.s=20161025 header.b=fyKtar+R; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230502AbhB1RAn (ORCPT + 99 others); Sun, 28 Feb 2021 12:00:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbhB1RAk (ORCPT ); Sun, 28 Feb 2021 12:00:40 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6C57C061756; Sun, 28 Feb 2021 08:59:59 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id h10so17479462edl.6; Sun, 28 Feb 2021 08:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CPEIN09wDGtkCb8Hq6OIvTK/905Oh/m5CADJ4r6c2LE=; b=fyKtar+RwTLgcYg3W6FUSj+8SNXTeYykG6lcex3qg1BBqkYOEkQOrElxX+MpRTc0HB miKBiChfz6+yGPADlIpDjKRMEW3WqtFsxsEA2d2WVXylHfxM6jtneLguIbP/iPTdLoJB xMHRgYf5DPPre9esQtSbOlrfzMv9NjkFzGIDUPXk5jIEf4u/ZuBHtEL/JJC1Up58AKsR 1TNRG9878R3kglrt8KnWdrlbfgfNYzpzI1aGAQg7JeydfoFcaQBNcthL5i76o9fFfk1J ye1uad5TZQ7JeRFHa8ctKHwYt+hZMmMItGvoUjuTGxeCsFpziyw1I20sGo5AOmGxNpch RhEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=CPEIN09wDGtkCb8Hq6OIvTK/905Oh/m5CADJ4r6c2LE=; b=RqqBJHBginKdnakOFRNj5L06JFTH8jfhlMwyCbIWWnWmvLul/qGRQCX8Y7fc0+Evf6 NQwx76uZp5Ntz4Kq5nS9bE9sFEv9i8OrIYpsTbYsOdb1Bp46bo+n1W+mFhP8vTP3UM78 9I0X/ydatAaDsNCIQBNH4F/8RetBd/f6c3jD+H7IzE/N5mQE5i3o0f0jojzdl80djADZ dST+T5TvH/zz7wvim/+BBr8wrGI/Xmq5XX7q+hnP9WV89/LRzSvOxOr7qMYnI2EcliIo yk8Z3lpU2Aw/sp+e1zU6ICXDU0FDxQlnk0GkDLrgmnCizBMrxK4cs59iAvQL9kIlkgN/ 1K4w== X-Gm-Message-State: AOAM533Id99J4sb9r4LwtQiClLXeWgXBfbJY/ZVtoXCAYlXA/w+CaAoV N9sfhsMsV1xYB5qF4MUczQ== X-Received: by 2002:a05:6402:30a5:: with SMTP id df5mr13018630edb.24.1614531598536; Sun, 28 Feb 2021 08:59:58 -0800 (PST) Received: from localhost.localdomain ([46.53.249.223]) by smtp.gmail.com with ESMTPSA id m14sm4715188edd.63.2021.02.28.08.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 08:59:58 -0800 (PST) Date: Sun, 28 Feb 2021 19:59:56 +0300 From: Alexey Dobriyan To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, hca@linux.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, linux-s390@vger.kernel.org Subject: [PATCH 03/11] pragma once: convert arch/s390/tools/gen_facilities.c Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From 45622ce1e4db512ad603dd90f959e61285b7541a Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Tue, 9 Feb 2021 14:43:52 +0300 Subject: [PATCH 03/11] pragma once: convert arch/s390/tools/gen_facilities.c Generate arch/s390/include/generated/asm/facility-defs.h without include guard. Signed-off-by: Alexey Dobriyan --- arch/s390/tools/gen_facilities.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c index 61ce5b59b828..cd5055994206 100644 --- a/arch/s390/tools/gen_facilities.c +++ b/arch/s390/tools/gen_facilities.c @@ -157,8 +157,7 @@ static void print_facility_lists(void) int main(int argc, char **argv) { - printf("#ifndef __ASM_S390_FACILITY_DEFS__\n"); - printf("#define __ASM_S390_FACILITY_DEFS__\n"); + printf("#pragma once\n"); printf("/*\n"); printf(" * DO NOT MODIFY.\n"); printf(" *\n"); @@ -166,6 +165,6 @@ int main(int argc, char **argv) printf(" */\n\n"); printf("#include \n\n"); print_facility_lists(); - printf("\n#endif\n"); + printf("\n"); return 0; } -- 2.29.2