public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Linux Test Project <Ltp-list@lists.sourceforge.net>,
	Mike Frysinger <vapier@users.sourceforge.net>
Subject: Re: [LTP] [PATCH] Fix calculated syscall numbers for	hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64}
Date: Fri, 07 Aug 2009 18:12:29 +0530	[thread overview]
Message-ID: <1249648949.4851.48.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <alpine.LRH.2.00.0908071046001.9737@vixen.sonytel.be>

On Fri, 2009-08-07 at 10:49 +0200, Geert Uytterhoeven wrote: 
> Commit "move leading __NR_ to script to make all the .in files simpler"
> accidentally removed all plus signs surrounded by spaces from the syscall
> definition files for hppa/powerpc{,64}/s390{,x}/sh/sparc{,64}, breaking the
> build like:
> 
> 	fstatat01.c: In function ‘main’:
> 	fstatat01.c:126: error: expected ‘)’ before numeric constant
> 	make[4]: *** [fstatat01_64.o] Error 1

Thanks for pointing that out.

> 
> Re-add the missing plus signs to fix it.
> 
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

However, it fails to apply in the present CVS snapshot:

patching file testcases/kernel/include/powerpc.in
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file
testcases/kernel/include/powerpc.in.rej
patching file testcases/kernel/include/powerpc64.in
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file
testcases/kernel/include/powerpc64.in.rej
patching file testcases/kernel/include/s390.in
patching file testcases/kernel/include/s390x.in
patching file testcases/kernel/include/sh.in
patching file testcases/kernel/include/sparc.in
patching file testcases/kernel/include/sparc64.in

Can you please resend it ?

Regards--
Subrata

> ---
> Discovered on ppc
> 
>  testcases/kernel/include/hppa.in      |   26 +++++++++++++-------------
>  testcases/kernel/include/powerpc.in   |   26 +++++++++++++-------------
>  testcases/kernel/include/powerpc64.in |   26 +++++++++++++-------------
>  testcases/kernel/include/s390.in      |   26 +++++++++++++-------------
>  testcases/kernel/include/s390x.in     |   26 +++++++++++++-------------
>  testcases/kernel/include/sh.in        |   26 +++++++++++++-------------
>  testcases/kernel/include/sparc.in     |   26 +++++++++++++-------------
>  testcases/kernel/include/sparc64.in   |   26 +++++++++++++-------------
>  8 files changed, 104 insertions(+), 104 deletions(-)
> 
> diff --git a/testcases/kernel/include/hppa.in b/testcases/kernel/include/hppa.in
> index 56b6994..b784a2b 100644
> --- a/testcases/kernel/include/hppa.in
> +++ b/testcases/kernel/include/hppa.in
> @@ -1,17 +1,17 @@
>  openat 275
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  splice 291
>  tee 293
>  vmsplice 294
> diff --git a/testcases/kernel/include/powerpc.in b/testcases/kernel/include/powerpc.in
> index ec99f3d..fc14765 100644
> --- a/testcases/kernel/include/powerpc.in
> +++ b/testcases/kernel/include/powerpc.in
> @@ -7,19 +7,19 @@ splice 283
>  tee 284
>  vmsplice 285
>  openat 286
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  utimensat 304
>  eventfd 307
>  fallocate 309
> diff --git a/testcases/kernel/include/powerpc64.in b/testcases/kernel/include/powerpc64.in
> index 249d06a..9e1300f 100644
> --- a/testcases/kernel/include/powerpc64.in
> +++ b/testcases/kernel/include/powerpc64.in
> @@ -7,19 +7,19 @@ splice 283
>  tee 284
>  vmsplice 285
>  openat 286
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  utimensat 304
>  eventfd 307
>  fallocate 309
> diff --git a/testcases/kernel/include/s390.in b/testcases/kernel/include/s390.in
> index b18c6cf..560563a 100644
> --- a/testcases/kernel/include/s390.in
> +++ b/testcases/kernel/include/s390.in
> @@ -1,17 +1,17 @@
>  openat 288
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  splice 306
>  tee 308
>  vmsplice 309
> diff --git a/testcases/kernel/include/s390x.in b/testcases/kernel/include/s390x.in
> index d5a548d..28451fc 100644
> --- a/testcases/kernel/include/s390x.in
> +++ b/testcases/kernel/include/s390x.in
> @@ -1,16 +1,16 @@
>  openat 288
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  eventfd 318
>  fallocate 314
> diff --git a/testcases/kernel/include/sh.in b/testcases/kernel/include/sh.in
> index e1a49ee..7b4acd9 100644
> --- a/testcases/kernel/include/sh.in
> +++ b/testcases/kernel/include/sh.in
> @@ -14,19 +14,19 @@ inotify_init 290
>  inotify_add_watch 291
>  inotify_rm_watch 292
>  openat 295
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  splice 313
>  tee 315
>  vmsplice 316
> diff --git a/testcases/kernel/include/sparc.in b/testcases/kernel/include/sparc.in
> index 5c0047b..a567659 100644
> --- a/testcases/kernel/include/sparc.in
> +++ b/testcases/kernel/include/sparc.in
> @@ -2,18 +2,18 @@ vmsplice 25
>  splice 232
>  tee 280
>  openat 284
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  eventfd 313
>  fallocate 314
> diff --git a/testcases/kernel/include/sparc64.in b/testcases/kernel/include/sparc64.in
> index b3afb0f..954931c 100644
> --- a/testcases/kernel/include/sparc64.in
> +++ b/testcases/kernel/include/sparc64.in
> @@ -2,18 +2,18 @@ vmsplice 25
>  splice 232
>  tee 280
>  openat 284
> -mkdirat (__NR_openat  1)
> -mknodat (__NR_openat  2)
> -fchownat (__NR_openat  3)
> -futimesat (__NR_openat  4)
> -newfstatat (__NR_openat  5)
> -fstatat64 (__NR_openat  5)
> -unlinkat (__NR_openat  6)
> -renameat (__NR_openat  7)
> -linkat (__NR_openat  8)
> -symlinkat (__NR_openat  9)
> -readlinkat (__NR_openat  10)
> -fchmodat (__NR_openat  11)
> -faccessat (__NR_openat  12)
> +mkdirat (__NR_openat + 1)
> +mknodat (__NR_openat + 2)
> +fchownat (__NR_openat + 3)
> +futimesat (__NR_openat + 4)
> +newfstatat (__NR_openat + 5)
> +fstatat64 (__NR_openat + 5)
> +unlinkat (__NR_openat + 6)
> +renameat (__NR_openat + 7)
> +linkat (__NR_openat + 8)
> +symlinkat (__NR_openat + 9)
> +readlinkat (__NR_openat + 10)
> +fchmodat (__NR_openat + 11)
> +faccessat (__NR_openat + 12)
>  eventd 313
>  fallocate 314


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2009-08-07 12:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07  8:49 [LTP] [PATCH] Fix calculated syscall numbers for hppa/powerpc{, 64}/s390{, x}/sh/sparc{, 64} Geert Uytterhoeven
2009-08-07 12:42 ` Subrata Modak [this message]
2009-08-07 13:18   ` Geert Uytterhoeven
2009-08-10  8:20     ` Subrata Modak
2009-08-13  7:19 ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1249648949.4851.48.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=Geert.Uytterhoeven@sonycom.com \
    --cc=Ltp-list@lists.sourceforge.net \
    --cc=vapier@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox