Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5851517ybv; Wed, 12 Feb 2020 01:17:07 -0800 (PST) X-Google-Smtp-Source: APXvYqzf5o99nmL7dEKlxo8087ChLkO7ShwrrAA4Xhhclj/D7zbbF2ijb/lcUn3wCQ6eVTv51eBH X-Received: by 2002:a9d:7b4e:: with SMTP id f14mr8590407oto.355.1581499027215; Wed, 12 Feb 2020 01:17:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581499027; cv=none; d=google.com; s=arc-20160816; b=xVeQt0oeI4WBbtM97JXwAmC9c9mfXrvJjaIhTpR4r2DnevdWxtzD3NHoxMysVA7gcu M4TUcr8pnVcoJYuBPnJuqr8Ve4VI/yQhZTB7J0ZSj8Z0FeChKe2hjQlAn6o/mhxAJwpM PZB6osrGIZ2cFQDpV7tfHG9DDzwEGs/BIJGvT1GUlPV3KrUCJhQBEhHXH0lx/9viDJx6 fb8mt+C0cHkVHyS18MTT6CNLE+8QmMJ6HBtzPNThOwCuWF1ie0gRJEKNGo/J5p5r459b l+ljHg2C6D/PXO87ECz+AT1GtqEQfoETzMSAq6PDymy6riAPAr5zDBENO2uwxrqeblZU dxqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Uk+gFfcB3b6FjGRTP1nlFspmuyGmgWlIC086s4vck+w=; b=XTuuLcxRFDWJ6MdEG09c29MZCfPQM/n7EFNQ79XmJk9c5XvEKy0EwqgRdOVaafYN0S pIHcqNJYmVIv5YCn1zgYadOaOVy/E8wizjmmypPChaqIpFIvQ7Ddc7qxzbF8rMuY8Ut4 PyhoVYCZhi67WNbtgxVu0kmjVPSpZmP5gq/wVPriRM2WMykV5/goCkifgo5D2jfxTMh3 NHfk5POOyLW+ZtzGZAdKHvvQvMkvFd4QINbRBu4yckX455jqa3LCnU182QozSw4eLRPU 8orlv2Sx9PyfcOfAzDaQnzfhP1mnhYNFlhY/xCppMuz8hVrPYEONuZQK7uywujIPHo1v QioQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=tx63Leo7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17si3291650otr.261.2020.02.12.01.16.55; Wed, 12 Feb 2020 01:17:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=tx63Leo7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728745AbgBLJQh (ORCPT + 99 others); Wed, 12 Feb 2020 04:16:37 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:32904 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728639AbgBLJQh (ORCPT ); Wed, 12 Feb 2020 04:16:37 -0500 Received: by mail-wr1-f68.google.com with SMTP id u6so1290587wrt.0 for ; Wed, 12 Feb 2020 01:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Uk+gFfcB3b6FjGRTP1nlFspmuyGmgWlIC086s4vck+w=; b=tx63Leo7FrRp0l54LTIEM0mJaUSmFSJs8Jtan6w3TdwyKCuw0Eu7b2I9GrPzaP8mjr XjDvfMlhRKTbK/pdenWOIi2NtyBIR/rlcogzVZTLoqIly3RaBeNH3ROBYO4InWV35ScG R1EixNT+YyHv7e19HkIfVYZgEpqErrhzxhTcgUR8V2cXKWQTYuS21lrCOcbTmRPuT5uy I3KNIQovuRRaTeyytRIGb04+jn/BEfv9MdaQPyXAx8RZVVsiVINu0g67BeESTKqIkxlT sM+jQ3MQZkAw6e5tAkX7AuFgwDJyeZcbcqYJeb0Kl/frjkzNH9bv24q+C50KvozngigY pfeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=Uk+gFfcB3b6FjGRTP1nlFspmuyGmgWlIC086s4vck+w=; b=oi3J7kH7LhkIjAOwZMmJnZDPnSAxKARebEIP3RwJQhDu9MS8B8lsbenqsJZ/tZzZYZ BFyK+M0FXEu33tObziDQcir2bssRMwSsueVIJFuv1jVgj1sLrUO7K9QO5OVwWQ3ENpVK m5uNJBnF/c4/ytTTJ6BBwucwrDKX6OSYEwVR3VWNFnqmrfcozjKzO/0py1uFKbe5IUzr 7kB6MqnogRM4ahpp3cMNyTHIsDFtDnQjsquZp7x2n4v1U26xx6y8ixwlqLYAw8BVxgem XjWoWMoZxgyy3uUbmAN7uiXKR5OZ6PRA8S4PbaOHjzsBFpT3JjDxA1HCrXIWSTUExamH JK5w== X-Gm-Message-State: APjAAAUAA+BqLdWY6ip8XiyPHKnYxmN7VXoRf68pS+bVrTxMaeCvkcc2 SFtFvixevG2V2hdPYJZHGx9hmD3vFbWIGvag X-Received: by 2002:a5d:68cf:: with SMTP id p15mr13657787wrw.31.1581498995201; Wed, 12 Feb 2020 01:16:35 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id l17sm8579262wro.77.2020.02.12.01.16.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2020 01:16:34 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, arnd@arndb.de, akpm@linux-foundation.org Cc: Stefan Asserhall , Chris Zankel , "David S. Miller" , Fenghua Yu , Geert Uytterhoeven , Helge Deller , Ivan Kokshaysky , "James E.J. Bottomley" , Matt Turner , Max Filippov , Rich Felker , Richard Henderson , Tony Luck , Yoshinori Sato , linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux-sh@vger.kernel.org, linux-xtensa@linux-xtensa.org, sparclinux@vger.kernel.org Subject: [PATCH v2] asm-generic: Fix unistd_32.h generation format Date: Wed, 12 Feb 2020 10:16:33 +0100 Message-Id: X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Generated files are also checked by sparse that's why add newline to remove sparse (C=1) warning. The issue was found on Microblaze and reported like this: ./arch/microblaze/include/generated/uapi/asm/unistd_32.h:438:45: warning: no newline at end of file Signed-off-by: Michal Simek Reviewed-by: Stefan Asserhall --- Changes in v2: - Update also others archs not just microblaze - Arnd - Align subject and description to match multiarch chagne arch/alpha/kernel/syscalls/syscallhdr.sh | 1 + arch/ia64/kernel/syscalls/syscallhdr.sh | 1 + arch/m68k/kernel/syscalls/syscallhdr.sh | 1 + arch/microblaze/kernel/syscalls/syscallhdr.sh | 1 + arch/parisc/kernel/syscalls/syscallhdr.sh | 1 + arch/sh/kernel/syscalls/syscallhdr.sh | 1 + arch/sparc/kernel/syscalls/syscallhdr.sh | 1 + arch/xtensa/kernel/syscalls/syscallhdr.sh | 1 + 8 files changed, 8 insertions(+) diff --git a/arch/alpha/kernel/syscalls/syscallhdr.sh b/arch/alpha/kernel/syscalls/syscallhdr.sh index e5b99bd2e5e7..524c69fbcab7 100644 --- a/arch/alpha/kernel/syscalls/syscallhdr.sh +++ b/arch/alpha/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/ia64/kernel/syscalls/syscallhdr.sh b/arch/ia64/kernel/syscalls/syscallhdr.sh index 0c2d2c748565..8e462a9be54a 100644 --- a/arch/ia64/kernel/syscalls/syscallhdr.sh +++ b/arch/ia64/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/m68k/kernel/syscalls/syscallhdr.sh b/arch/m68k/kernel/syscalls/syscallhdr.sh index 6f357d68ef44..8ac15be01ac2 100644 --- a/arch/m68k/kernel/syscalls/syscallhdr.sh +++ b/arch/m68k/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */\n" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/microblaze/kernel/syscalls/syscallhdr.sh b/arch/microblaze/kernel/syscalls/syscallhdr.sh index 2e9062a926a3..4f4238433644 100644 --- a/arch/microblaze/kernel/syscalls/syscallhdr.sh +++ b/arch/microblaze/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/parisc/kernel/syscalls/syscallhdr.sh b/arch/parisc/kernel/syscalls/syscallhdr.sh index 50242b747d7c..77eb95416eae 100644 --- a/arch/parisc/kernel/syscalls/syscallhdr.sh +++ b/arch/parisc/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/sh/kernel/syscalls/syscallhdr.sh b/arch/sh/kernel/syscalls/syscallhdr.sh index 1de0334e577f..7c45d405547c 100644 --- a/arch/sh/kernel/syscalls/syscallhdr.sh +++ b/arch/sh/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/sparc/kernel/syscalls/syscallhdr.sh b/arch/sparc/kernel/syscalls/syscallhdr.sh index 626b5740a9f1..76e4d1a1f8bf 100644 --- a/arch/sparc/kernel/syscalls/syscallhdr.sh +++ b/arch/sparc/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" diff --git a/arch/xtensa/kernel/syscalls/syscallhdr.sh b/arch/xtensa/kernel/syscalls/syscallhdr.sh index d37db641ca31..c946c6b2a506 100644 --- a/arch/xtensa/kernel/syscalls/syscallhdr.sh +++ b/arch/xtensa/kernel/syscalls/syscallhdr.sh @@ -33,4 +33,5 @@ grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( printf "#endif\n" printf "\n" printf "#endif /* %s */" "${fileguard}" + printf "\n" ) > "$out" -- 2.25.0