Add test case for the ioc type check
commit42ebe4166c52a0c4cb8b50ab488374ac5c92ff2b
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 3 Apr 2014 18:46:22 +0000 (3 11:46 -0700)
committerChristopher Li <sparse@chrisli.org>
Thu, 3 Apr 2014 18:46:22 +0000 (3 11:46 -0700)
tree9a91cd48b4efd791bd35b63920359ee6531a8ef0
parent2c82340a20c10f9db2f560ecb18692f2e186c9db
Add test case for the ioc type check

Running sparse over this gives:

error: bad integer constant expression

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
validation/ioc-typecheck.c [new file with mode: 0644]