Commit 6d0aeaa3 authored by Liang Zhen's avatar Liang Zhen Committed by Greg Kroah-Hartman

staging: lustre: libcfs: update error messages in linux-module.c

The error message are for libcfs layer not LNet.
Signed-off-by: default avatarLiang Zhen <liang.zhen@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5435
Reviewed-on: http://review.whamcloud.com/11313Reviewed-by: default avatarBobi Jam <bobijam@gmail.com>
Reviewed-by: default avatarJohann Lombardi <johann.lombardi@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77f71636
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
int libcfs_ioctl_data_adjust(struct libcfs_ioctl_data *data) int libcfs_ioctl_data_adjust(struct libcfs_ioctl_data *data)
{ {
if (libcfs_ioctl_is_invalid(data)) { if (libcfs_ioctl_is_invalid(data)) {
CERROR("LNET: ioctl not correctly formatted\n"); CERROR("libcfs ioctl: parameter not correctly formatted\n");
return -EINVAL; return -EINVAL;
} }
...@@ -68,7 +68,7 @@ int libcfs_ioctl_getdata(struct libcfs_ioctl_hdr **hdr_pp, ...@@ -68,7 +68,7 @@ int libcfs_ioctl_getdata(struct libcfs_ioctl_hdr **hdr_pp,
if (hdr.ioc_version != LIBCFS_IOCTL_VERSION && if (hdr.ioc_version != LIBCFS_IOCTL_VERSION &&
hdr.ioc_version != LIBCFS_IOCTL_VERSION2) { hdr.ioc_version != LIBCFS_IOCTL_VERSION2) {
CERROR("LNET: version mismatch expected %#x, got %#x\n", CERROR("libcfs ioctl: version mismatch expected %#x, got %#x\n",
LIBCFS_IOCTL_VERSION, hdr.ioc_version); LIBCFS_IOCTL_VERSION, hdr.ioc_version);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment