]> git.baikalelectronics.ru Git - kernel.git/commit
scripts: check duplicated syscall number in syscall table
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 5 Jul 2021 06:06:54 +0000 (15:06 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 8 Jul 2021 19:00:39 +0000 (04:00 +0900)
commit0dbcb3d127c768de6ffb510948238cf70abf31f7
treef44a9b2ced0e0d8d9ca894cad174dbb807ee3ec2
parent57314af436219dfcea2c17ee65030880f0caf0d7
scripts: check duplicated syscall number in syscall table

Currently, syscall{hdr,tbl}.sh sorts the entire syscall table, but you
can assume it is already sorted by the syscall number.

The generated syscall table does not work if the same syscall number
appears twice. Check it in the script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/syscallhdr.sh
scripts/syscalltbl.sh