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

Cyril Hrubis chrubis@suse.cz
Thu Dec 3 17:08:29 CET 2015


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the Ltp mailing list