@@ -1248,14 +1248,14 @@ static void ddebug_find_kparam(struct ddebug_class_map *cm)
static void ddebug_param_load_dependent_class(const struct ddebug_class_user *cli)
{
- unsigned long new_bits, old_bits = 0;
+ unsigned long *new_bits, old_bits = 0;
- new_bits = *cli->map->dc_parm->bits;
+ new_bits = cli->map->dc_parm->bits;
vpr_info("%s needs %s, 0x%lx\n", cli->user_mod_name,
- cli->map->mod_name, new_bits);
+ cli->map->mod_name, *new_bits);
- ddebug_apply_class_bitmap(cli->map->dc_parm, &new_bits, &old_bits, cli->user_mod_name);
+ ddebug_apply_class_bitmap(cli->map->dc_parm, new_bits, &old_bits, cli->user_mod_name);
}
static void ddebug_attach_module_classes(struct ddebug_table *dt, struct _ddebug_info *di)