[PATCH] sparse: Fix ioc type check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add missing exepcted error output for the test to pass.

Fixes: 42ebe41 "Add test case for the ioc type check"
Signed-off-by: Thomas Graf <tgraf@xxxxxxx>
---
 validation/ioc-typecheck.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/validation/ioc-typecheck.c b/validation/ioc-typecheck.c
index aa060f7..baa200a 100644
--- a/validation/ioc-typecheck.c
+++ b/validation/ioc-typecheck.c
@@ -13,5 +13,6 @@ static unsigned iocnrs[] = {
  * check-name: correct handling of _IOC_TYPECHECK
  *
  * check-error-start
+ioc-typecheck.c:10:21: error: bad integer constant expression
  * check-error-end
  */
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux