diff options
author | Vincent Mailhol <mailhol@kernel.org> | 2025-09-23 15:58:45 +0900 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-09-24 17:09:47 +0200 |
commit | 6742ca18cb4169dc9a7f2860d18e78fcf00c6717 (patch) | |
tree | 90e720e0b10a024b28f7e3067d151aeb389c4b8c /rust/helpers/cpu.c | |
parent | 7de54546fff11cb0a53f47847d62f7b1a5792d17 (diff) |
can: netlink: add userland error messages
Use NL_SET_ERR_MSG() and NL_SET_ERR_MSG_FMT() to return meaningful
error messages to the userland whenever a -EOPNOTSUPP error is
returned due to a failed validation of the CAN netlink arguments.
Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Link: https://patch.msgid.link/20250923-canxl-netlink-prep-v4-20-e720d28f66fe@kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions