aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2009-06-25 22:21:27 +0200
committerIngo Molnar <[email protected]>2009-06-25 22:25:55 +0200
commit3928ddbe994cce1da1b6365b0db04d5765f254f4 (patch)
tree23419e9b7bb39be5296ef30b8c828ce1bf44f297 /net/lapb/lapb_timer.c
parent4418351f06d9ce73acc846158c20186965f920f3 (diff)
perf record: Fix unhandled io return value
Building latest perfcounter fails on the following error: builtin-record.c: In function ‘create_counter’: builtin-record.c:451: erreur: ignoring return value of ‘read’, declared with attribute warn_unused_result make: *** [builtin-record.o] Erreur 1 Just check if we successfully read the perf file descriptor. 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