summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBob Glossman <bob.glossman@intel.com>2016-09-18 16:38:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-19 09:53:45 +0200
commita21e4b903d8ce19831dd504d8bfc4c99e85c2624 (patch)
treee3c3925599612c37ee831d1e134ad0e1151fdc11 /tools/perf/scripts/python
parent0ae0d5eb33c04f9da9df520e53f4c7f1f56bdc80 (diff)
downloadlinux-a21e4b903d8ce19831dd504d8bfc4c99e85c2624.tar.gz
linux-a21e4b903d8ce19831dd504d8bfc4c99e85c2624.zip
staging: lustre: obdclass: eliminate NULL error return
Always return an ERR_PTR() on errors, never return a NULL, in lu_object_find_slice(). Also clean up callers who no longer need special case handling of NULL returns. Signed-off-by: Bob Glossman <bob.glossman@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5858 Reviewed-on: http://review.whamcloud.com/12554 Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions