diff options
| author | Linus Torvalds <[email protected]> | 2010-05-27 11:21:11 +0900 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2010-07-30 09:29:10 -0700 |
| commit | f6735590e9f441762ab5afeff64ded99e5b19a68 (patch) | |
| tree | 58e15ba0d4c00195da9e9b199b7fc73de7f51e64 /tools/perf/scripts/python | |
| parent | 73cd3b43f08cc9a9bcb168994b8e9ebd983ff573 (diff) | |
PCI aerdrv: fix annoying warnings
Some compiler generates following warnings:
In function 'aer_isr':
warning: 'e_src.id' may be used uninitialized in this function
warning: 'e_src.status' may be used uninitialized in this function
Avoid status flag "int ret" and return constants instead, so that
gcc sees the return value matching "it is initialized" better.
Acked-by: Hidetoshi Seto <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Hidetoshi Seto <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions