summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Aksenov <a.aksenov@samsung.com>2014-11-13 16:26:28 +0300
committerAlexander Aksenov <a.aksenov@samsung.com>2014-11-13 16:26:28 +0300
commit0ff234cb5f9536ffdfda68e6a0242847a4cad574 (patch)
treee2ebaee9d4c8eb38f15757433bd11442217f54f9
parentf71aa99c316e5aebdee03adc74e6b87b14bfd502 (diff)
downloadswap-modules-0ff234cb5f9536ffdfda68e6a0242847a4cad574.tar.gz
swap-modules-0ff234cb5f9536ffdfda68e6a0242847a4cad574.tar.bz2
swap-modules-0ff234cb5f9536ffdfda68e6a0242847a4cad574.zip
[FIX] Probe info size init
Change-Id: I491eef3afcc3562aff5b144efa5dd6396b3398d5 Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
-rw-r--r--parser/us_inst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/us_inst.c b/parser/us_inst.c
index b36edbab..3266a61c 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;
}