diff options
| author | Wei Yongjun <[email protected]> | 2013-10-25 13:53:33 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2013-10-25 17:42:09 +0000 |
| commit | 58932e96e438cd78f75e765d7b87ef39d3533d15 (patch) | |
| tree | a431bf2d95dcc04f3a09c1f3dfe956ceaf1527ee /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | target: Fail XCOPY for non matching source + destination block_size (diff) | |
| download | kernel-58932e96e438cd78f75e765d7b87ef39d3533d15.tar.gz kernel-58932e96e438cd78f75e765d7b87ef39d3533d15.zip | |
target/pscsi: fix return value check
In case of error, the function scsi_host_lookup() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun <[email protected]>
Cc: <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
