Accessing user space memory outside uaccess.h routines

Hello,

Thank you for replying.

I tried to debug by following your suggestion. I tried to narrow down the problem area by putting printk statement in the probe function. So I came to know that problem is in this function call: oid = of_match_node(adv76xx_of_id, client->dev.of_node);

See the problem area below :

/* initialize variables */
state->restart_stdi_once = true;
state->selected_input = ~0;

if (IS_ENABLED(CONFIG_OF) && client->dev.of_node) {
	const struct of_device_id *oid;

	oid = of_match_node(adv76xx_of_id, client->dev.of_node);
	state->info = oid->data;

	err = adv76xx_parse_dt(state);
	if (err < 0) {
		v4l_err(client, "DT parsing error\n");
		return err;
	}

I don’t think so this function call is using copy_from_user() or copy_to_user() .If yes then how what is the alternative of this function call.

I tried to disable the hardware revision dependency by following ARM Configuration Parameter but it is also not working.

One more query I posted in the forum, Can you please comment on this: Reset on Jetson Tx2.

Please help us to resolve these two problems.

Thanks and Regards,
Vikas Dwivedi