From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.sf-mail.de ([78.47.74.12]:39289 "EHLO mail.sf-mail.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726715AbeJONAs (ORCPT ); Mon, 15 Oct 2018 09:00:48 -0400 From: Rolf Eike Beer Subject: Re: [PATCH v4 3/6] parisc: add system call table generation support Date: Mon, 15 Oct 2018 07:16:59 +0200 Message-ID: <4517632.a0TFakfgol@daneel.sf-tec.de> In-Reply-To: References: <1539337442-3676-1-git-send-email-firoz.khan@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3045382.2mgNMOvJcN"; micalg="pgp-sha1"; protocol="application/pgp-signature" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Firoz Khan Cc: linux-parisc@vger.kernel.org, "James E . J . Bottomley" , Helge Deller , Thomas Gleixner , Greg Kroah-Hartman , Philippe Ombredanne , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , Marcin Juszkiewicz , linux-parisc-owner@vger.kernel.org Message-ID: <20181015051659.F1j85H7PhKhVzuJj1evNC3NQ8okeoV6QNRWNGMpFuKw@z> --nextPart3045382.2mgNMOvJcN Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Firoz Khan wrote: > Hi Rolf, > > On Fri, 12 Oct 2018 at 17:37, Rolf Eike Beer wrote: > > Firoz Khan wrote: > > > +prefix="$4" > > > +offset="$5" > > > + > > > +fileguard=_UAPI_ASM_PARISC_`basename "$out" | sed \ > > > + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ > > > + -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` > > > +grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( > > > + echo "#ifndef ${fileguard}" > > > + echo "#define ${fileguard}" > > > + echo "" > > > + > > > + nxt=0 > > > + while read nr abi name entry compat ; do > > > + if [ -z "$offset" ]; then > > > + echo -e "#define __NR_${prefix}${name}\t$nr" > > > > This mixed indentation with both tabs and spaces is a bit messy. > > Is this what you suggested? > - echo -e "#define __NR_${prefix}${name}\t$nr" > + echo "#define __NR_${prefix}${name} $nr" No, this was actually only about the script itself. Looks like your editor has tab-width 8 and indentation 4 or so. Eike --nextPart3045382.2mgNMOvJcN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSaYVDeqwKa3fTXNeNcpIk+abn8TgUCW8QiywAKCRBcpIk+abn8 TkW/AJ9u7BePqjngSBek/LuUdC5oSBYJUQCgknrnxjpoIDZmHtjFwq8YzC1FGpA= =1rfo -----END PGP SIGNATURE----- --nextPart3045382.2mgNMOvJcN--