diff options
author | Piro Yang <piroyangg@gmail.com> | 2023-12-27 23:47:39 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 14:32:40 +0100 |
commit | fbfb131ef81ff0cb568196801de1a1fb46cfd592 (patch) | |
tree | 1929ddbfd229ede4e27e00a8d5a3d4d20aa1d653 /drivers/base/memory.c | |
parent | 9ebffbe2ad12b030b282796fed5117a182588c51 (diff) |
staging: vme_user: print more detailed infomation when an error occurs
when the slave_get function pointer belongs to the struct vme_bridge
member is NULL, it prompts that the detailed function name
"vme_slave_set" equivalent to __func__ not supported.
it is similar to the vme_slave_get function:
when vme_bridge->slave_set function pointer is NULL to print detailed
function name by using __func__.
Signed-off-by: Piro Yang <piroyangg@gmail.com>
Link: https://lore.kernel.org/r/20231227154739.6951-1-piroyangg@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/memory.c')
0 files changed, 0 insertions, 0 deletions