Commit | Line | Data |
---|---|---|
34e49164 C |
1 | @@ |
2 | expression E; | |
3 | identifier link; | |
4 | @@ | |
5 | ||
6 | - void | |
7 | + int | |
8 | axnet_config(struct pcmcia_device *link) { | |
9 | <... | |
10 | ( | |
11 | if (E) { | |
12 | ... | |
13 | axnet_release(...); | |
14 | ... | |
15 | - return; | |
16 | + return -ENODEV; | |
17 | } | |
18 | | | |
19 | if (E) { | |
20 | ... | |
21 | cs_error(...); | |
22 | ... | |
23 | - return; | |
24 | + return -ENODEV; | |
25 | } | |
26 | ) | |
27 | ...> | |
28 | } |