From: Vyacheslav Cherkashin Date: Tue, 21 Jul 2015 18:31:31 +0000 (+0300) Subject: [FIX] types of wsi function addresses X-Git-Tag: submit/tizen_2.4/20150912.103527~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F44427%2F2;p=kernel%2Fswap-modules.git [FIX] types of wsi function addresses inspserver_addr, willexecute_addr, didexecute_addr should have u64 type intead of unsigned long Change-Id: I0e5692056835b41f59650a77e9ab76796f80a2b4 Signed-off-by: Vyacheslav Cherkashin --- diff --git a/webprobe/webprobe_prof.c b/webprobe/webprobe_prof.c index 897427a..9e43670 100644 --- a/webprobe/webprobe_prof.c +++ b/webprobe/webprobe_prof.c @@ -38,9 +38,9 @@ struct web_prof_data { struct dentry *app_dentry; struct dentry *lib_dentry; struct pf_group *pfg; - unsigned long inspserver_addr; - unsigned long willexecute_addr; - unsigned long didexecute_addr; + u64 inspserver_addr; + u64 willexecute_addr; + u64 didexecute_addr; enum web_prof_state_t enabled; }; @@ -54,13 +54,13 @@ u64 *web_prof_addr_ptr(enum web_prof_addr_t type) switch (type) { case INSPSERVER_START: - addr_ptr = (u64 *)&web_data->inspserver_addr; + addr_ptr = &web_data->inspserver_addr; break; case WILL_EXECUTE: - addr_ptr = (u64 *)&web_data->willexecute_addr; + addr_ptr = &web_data->willexecute_addr; break; case DID_EXECUTE: - addr_ptr = (u64 *)&web_data->didexecute_addr; + addr_ptr = &web_data->didexecute_addr; break; default: pr_err("ERROR: WEB_PROF_ADDR_PTR_TYPE=0x%x\n", type);