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.unreachable.ignore: add scoped_guard()
[smatch.git]
/
validation
/
fored_arg.c
blob
4ab71419a0d00007886c1891625df7ab0dd4a2e1
1
/*
2
* check-name: Forced function argument type.
3
*/
4
5
#define __iomem __attribute__((noderef, address_space(2)))
6
#define __force __attribute__((force))
7
8
static void
foo
(
__force
void
*
addr
)
9
{
10
}
11
12
13
static void
bar
(
void
)
14
{
15
void
__iomem
*
a
;
16
foo
(
a
);
17
}
18