diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-12-17 15:38:54 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-01-24 16:40:11 -0300 |
commit | 5323f60c7578e9ddc92d1ca8a2d7b08284624cd1 (patch) | |
tree | 90e1f5e48c55dec263502ca5707ad6dbb80a7541 /tools/usb | |
parent | 000ae33fdb5ff7bc7ae985b43e6278024a4985c2 (diff) | |
download | blackbird-op-linux-5323f60c7578e9ddc92d1ca8a2d7b08284624cd1.tar.gz blackbird-op-linux-5323f60c7578e9ddc92d1ca8a2d7b08284624cd1.zip |
perf header: Ensure read/write finished successfully
Use readn instead of read and check return value of do_write.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Suggested-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1355726345-29553-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions