build it with -Werror
it depends on fix to swap_kprobe
Change-Id: I5fcc556752a156989dfe5cc28e0389b47d4bda62
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
ks_manager_module_name=swap_ks_manager.ko
make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${ks_manager_dir} \
- extra_cflags="-I${kprobe_dir} -I${kprobe_arch_dir}" \
+ extra_cflags="-Werror -I${kprobe_dir} -I${kprobe_arch_dir}" \
modules || exit 1
uprobe_module_name=swap_uprobe.ko
/* check if such probe does exist */
swap_hlist_for_each_entry(p, node, &list_probes, hlist)
- if (p->p.jp.kp.addr == addr)
+ if ((unsigned long)p->p.jp.kp.addr == addr)
return p;
return NULL;