summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-26 13:46:07 -0500
committerTony Luck <tony.luck@intel.com>2012-02-27 13:01:42 -0800
commit454ca6040acc441221d1b07c38c6127947a223d0 (patch)
tree365d768a12a2fa8820d825b5ee03ddd86df4aae3 /tools/perf/util/scripting-engines/trace-event-python.c
parentc19ce0ab53ad9698968a154647f3dc22aad6c45b (diff)
[IA64] Check return from device_register() in cx_device_register()
The device_register() is declared with must_check, causing this: arch/ia64/sn/kernel/tiocx.c: In function 'cx_device_register': arch/ia64/sn/kernel/tiocx.c:210:17: warning: ignoring return value of 'device_register', declared with attribute warn_unused_result Check the return value, and free resources if it fails. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions