[LTP] [PATCH 2/2] hugetlb: checking if hugepage is supported on target system

Li Wang liwang@redhat.com
Fri Dec 4 06:55:10 CET 2015


Hi,

On Fri, Dec 4, 2015 at 12:08 AM, Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > -static void setup(void)
> > +void setup(void)
>
> This is wrong. What you should do instead is:
>
> * Remove the cleanup() and setup() definitions from the header from lib/
>
> * Change the getipckey() and getuserid() to have the callback pointer as
>   their first parameter and pass the cleanup callback in the
>   testcases.
>

ok, great. I would like to change that. patch V2 will be threw out.


-- 
Regards,
Li Wang
Email: liwang@redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20151204/55a132c1/attachment.html>


More information about the Ltp mailing list