[Devel] Re: [PATCH 2/5] Add a ckpt_read_string() function (v2)

Dan Smith danms at us.ibm.com
Tue Aug 4 12:20:29 PDT 2009


>> +	*str = kzalloc(len + 1, GFP_KERNEL);
>> +	if (!*str)
>> +		ret = -ENOMEM;

SH> 	would you like to return here as well?

Heh, I guess that would be best :)

(sigh)

-- 
Dan Smith
IBM Linux Technology Center
email: danms at us.ibm.com
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list