drivers: can: add missing can_get_max_filters() syscall handler
Add missing syscall verification handler for can_get_max_filters(). Fixes: #44687 Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
d311af4bf4
commit
3d433cca26
1 changed files with 9 additions and 0 deletions
|
@ -115,6 +115,15 @@ static inline const struct can_timing *z_vrfy_can_get_timing_max_data(const stru
|
|||
|
||||
#endif /* CONFIG_CAN_FD_MODE */
|
||||
|
||||
static inline int z_vrfy_can_get_max_filters(const struct device *dev, enum can_ide id_type)
|
||||
{
|
||||
/* Optional API function */
|
||||
Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_CAN));
|
||||
|
||||
return z_impl_can_get_max_filters(dev, id_type);
|
||||
}
|
||||
#include <syscalls/can_get_max_filters_mrsh.c>
|
||||
|
||||
static inline int z_vrfy_can_set_mode(const struct device *dev, enum can_mode mode)
|
||||
{
|
||||
Z_OOPS(Z_SYSCALL_DRIVER_CAN(dev, set_mode));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue