From: Alexander Aksenov Date: Thu, 13 Nov 2014 13:26:28 +0000 (+0300) Subject: [FIX] Probe info size init X-Git-Tag: submit/tizen/20151123.110932~117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ff234cb5f9536ffdfda68e6a0242847a4cad574;p=kernel%2Fswap-modules.git [FIX] Probe info size init Change-Id: I491eef3afcc3562aff5b144efa5dd6396b3398d5 Signed-off-by: Alexander Aksenov --- diff --git a/parser/us_inst.c b/parser/us_inst.c index b36edba..3266a61 100644 --- a/parser/us_inst.c +++ b/parser/us_inst.c @@ -79,9 +79,9 @@ static int mod_func_inst(struct func_inst_data *func, struct pf_group *pfg, /* ARM toolchain hates good style initialization of struct with union */ probe_i.probe_type = SWAP_RETPROBE; + probe_i.size = 0; probe_i.rp_i.args = func->args; probe_i.rp_i.ret_type = func->ret_type; - probe_i.rp_i.size = 0; ret = pf_register_probe(pfg, dentry, func->addr, &probe_i); break; }