Skip to content
Commit 81152d0a authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Marti Bolivar
Browse files

drivers: can: handlers: verify timing parameter access



Verify read access to the timing and timing_data parameters in
z_vrfy_can_set_timing() and pass a copy of these structs to the
implementation as recommended for Zephyr system calls.

Remove unnecessary typecasts.

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent c389594e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment