Serge Hallyn <serge.hallyn@canonical.com> wrote:> > p = buffer = kmalloc(n, GFP_KERNEL);> > + if (p< 0)> > + return NULL;> > Sorry, maybe i'm having a confused morning, but shouldn't this check be for> p==NULL rather than p<0?Bah. You are, of course, right. Updated for the next version.David