repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kernel-printf: add printf format %pra for struct range
[smatch.git]
/
validation
/
foul-scalar.c
blob
8e053b96edbd41c598546d34641a51f6a500d2db
1
#define __bitwise __attribute__((bitwise))
2
3
typedef
unsigned short
__bitwise __be16
;
4
5
static void
foo
(
__be16 x
)
6
{
7
if
(~
x
)
8
;
9
}
10
11
/*
12
* check-name: foul-scalar
13
*/