aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2012-02-13 11:23:09 +0100
committerJohn W. Linville <[email protected]>2012-02-22 14:51:12 -0500
commit1e0f32a43ae652eaa5b23dc06852938555cb8da1 (patch)
tree374663ec03298f09ad53c1e513e7582da8c508ed /tools/perf/scripts/python
parentb6603036ad87244bd39ed7bc0612009df7694f5e (diff)
iwlegacy: always check if got h/w access before write
Before we write to the device register always check if _il_grap_nic_access() was successful. Change type return type _il_grap_nic_access() to bool, and add likely()/unlikely() statements. Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions