From 791e45ec4f92772adf7fa5579078264313f261a8 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 11 Jan 2017 23:48:41 +0000 Subject: Remove redundant commas at the end of structure initializers Automatically remove redundant commas using the following sed expression: git grep -El ',[[:space:]]+}' |xargs sed -ri 's/,([[:space:]]+\})/\1/' * linux/32/syscallent.h: Remove redundant commas at the end of structure initializers. * linux/64/syscallent.h: Likewise. * linux/alpha/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/avr32/syscallent.h: Likewise. * linux/bfin/syscallent.h: Likewise. * linux/crisv10/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/microblaze/userent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * tests/kexec_file_load.c: Likewise. Reported-by: Eugene Syromyatnikov --- linux/powerpc64/syscallent.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'linux/powerpc64') diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index ba22c3c10..54c4c7670 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -379,14 +379,14 @@ [355] = { 3, 0, SEN(sched_setattr), "sched_setattr" }, [356] = { 4, 0, SEN(sched_getattr), "sched_getattr" }, [357] = { 5, TD|TF, SEN(renameat2), "renameat2" }, -[358] = { 3, 0, SEN(seccomp), "seccomp", }, -[359] = { 3, 0, SEN(getrandom), "getrandom", }, -[360] = { 2, TD, SEN(memfd_create), "memfd_create", }, -[361] = { 3, TD, SEN(bpf), "bpf", }, -[362] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat", }, +[358] = { 3, 0, SEN(seccomp), "seccomp" }, +[359] = { 3, 0, SEN(getrandom), "getrandom" }, +[360] = { 2, TD, SEN(memfd_create), "memfd_create" }, +[361] = { 3, TD, SEN(bpf), "bpf" }, +[362] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat" }, [363] = { 0, 0, SEN(printargs), "switch_endian" }, -[364] = { 1, TD, SEN(userfaultfd), "userfaultfd", }, -[365] = { 2, 0, SEN(membarrier), "membarrier", }, +[364] = { 1, TD, SEN(userfaultfd), "userfaultfd" }, +[365] = { 2, 0, SEN(membarrier), "membarrier" }, [366] = { 3, TI, SEN(semop), "semop" }, [367] = { 3, TI, SEN(semget), "semget" }, [368] = { 4, TI, SEN(semctl), "semctl" }, -- cgit v1.2.1