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.111 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site