lkml.org 
[lkml]   [2011]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v7 3.2-rc2 3/30] uprobes: register/unregister probes.
From
Date
On Wed, 2011-11-23 at 17:09 +0100, Peter Zijlstra wrote:
> > + if (IS_ERR(vi)) {
> > + ret = -ENOMEM;
> > + break;
> > + }

Also, might as well use:

ret = PTR_ERR(vi);




\
 
 \ /
  Last update: 2011-11-23 17:15    [W:0.179 / U:3.568 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site