diff options
author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2025-02-07 14:59:26 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-11 12:46:37 +0100 |
commit | a25a8b10491bb94e905fdbef06f0f2b80fd9f74f (patch) | |
tree | c9cfdcb921b58d7d66421e5f2647a914642eca5b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8cdc56f99e6c33abc855891dbd4d802be06d1404 (diff) |
mptcp: pm: use NL_SET_ERR_MSG_ATTR when possible
Instead of only returning a text message with GENL_SET_ERR_MSG(),
NL_SET_ERR_MSG_ATTR() can help the userspace developers by also
reporting which attribute is faulty.
When the error is specific to an attribute, NL_SET_ERR_MSG_ATTR() is now
used. The error messages have not been modified in this commit.
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions