]> 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)
commite7d8672fbedbd165d0c5f6f2db588797037635e3
treef44a9b2ced0e0d8d9ca894cad174dbb807ee3ec2
parent981f949cc484df5463bdc711d13f1600e2d9540a
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