diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-11-28 11:30:15 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-02 09:22:46 -0300 |
commit | 838d14520267769648fb2fc2a637107a1d102590 (patch) | |
tree | 48f16ca6aa41f01ac852114a224f3715578f1b15 /sound/spi | |
parent | 727ebd544f85285a223ecc6a2a57ef90202cdc7b (diff) | |
download | linux-838d14520267769648fb2fc2a637107a1d102590.tar.bz2 |
perf tools: Fine tune readn function
Added a 'left' variable to make the flow clearer, and added a debug
check for the return value - returning 'n' is more obvious.
Added small comment for readn.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Original-patch-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1385634619-8129-4-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'sound/spi')
0 files changed, 0 insertions, 0 deletions