From patchwork Wed Feb 12 09:16:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 11378045 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D20541820 for ; Wed, 12 Feb 2020 09:16:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B11F420714 for ; Wed, 12 Feb 2020 09:16:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="tx63Leo7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728615AbgBLJQj (ORCPT ); Wed, 12 Feb 2020 04:16:39 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42190 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728150AbgBLJQi (ORCPT ); Wed, 12 Feb 2020 04:16:38 -0500 Received: by mail-wr1-f67.google.com with SMTP id k11so1252832wrd.9 for ; Wed, 12 Feb 2020 01:16:35 -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=nba+Pv/Vs5SH+MZa/imfJFDFapdt93n4ZdQm1tN+qQgZHbCE+xXcCuN2LRzhDoFB3a owYQCZ3JdZI1vbSA6YH6xibleFDH3M8xM/Lo/7Hs92NIuvsNLo+Nsnox3rJUgi/gqrXC nr93VAJMMwQ2p7va6sAWa/6+PoGW817nMc0UO1Y7U6sJg3mmEc8IvRhX2khELe3muKmM VpDa6yK5DgH4QkOaL2LS20Qg+gGkxKps/zueXZmFYJtRDNboLqIxnbPU+lFdL+rPVjTG cZEOjDfvtvLwOB+LtL/8WyrwSyxuoI8WyxY3Nuinx6Ta2fIE+qaZ0byLDh15lL56ya9e GoLA== X-Gm-Message-State: APjAAAWMlru9wV5UtSBU+2Mfxtu4yhakmv5/R6X8KRKPhRxJGiwCmBfH wk3VQVqb4Y6nintfAWcY+N2q4A== X-Google-Smtp-Source: APXvYqzdt6o6j4qqNJoPYtoq55Sx9ZpUuHqgwT8USJjl8gjw+SUMB3okJ1S6XFjAX10CeKKJ9aqCWg== 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 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@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 Acked-by: Geert Uytterhoeven Acked-by: Max Filippov --- 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"