diff options
author | Frederic Weisbecker <[email protected]> | 2009-06-20 02:01:40 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-06-20 12:30:33 +0200 |
commit | eadc84cc01e04f9f74ec2de0c9355be035c7b396 (patch) | |
tree | 95e26221d3f768544e33bc6754c39e9e0452b6f3 /net/lapb/lapb_timer.c | |
parent | 92bf309a9cd5fedd6c8eefbce0b9a95ada82d0a9 (diff) |
perfcounter: Handle some IO return values
Building perfcounter tools raises the following warnings:
builtin-record.c: In function ‘atexit_header’:
builtin-record.c:464: erreur: ignoring return value of ‘pwrite’, declared with attribute warn_unused_result
builtin-record.c: In function ‘__cmd_record’:
builtin-record.c:503: erreur: ignoring return value of ‘read’, declared with attribute warn_unused_result
builtin-report.c: In function ‘__cmd_report’:
builtin-report.c:1403: erreur: ignoring return value of ‘read’, declared with attribute warn_unused_result
This patch handles these IO return values.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions