From 1190cf1ea17b26f2287c9eed9a5df08cd21ceeed Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 13 Nov 2017 16:00:09 +0000 Subject: [PATCH] scst/src/scst_lib.c: Fix recently introduced checkpatch complaints git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7261 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 88e4ebf7c..2220adefa 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -5911,9 +5911,9 @@ ssize_t scst_readv(struct file *file, const struct iovec *vec, #elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) || \ (defined(CONFIG_SUSE_KERNEL) && \ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) - return vfs_readv(file, (const struct iovec __user*)vec, vlen, pos, 0); + return vfs_readv(file, (const struct iovec __user *)vec, vlen, pos, 0); #else - return vfs_readv(file, (const struct iovec __user*)vec, vlen, pos); + return vfs_readv(file, (const struct iovec __user *)vec, vlen, pos); #endif } EXPORT_SYMBOL(scst_readv); @@ -5937,8 +5937,8 @@ ssize_t scst_writev(struct file *file, const struct iovec *vec, struct iov_iter iter; ssize_t ret; - ret = import_iovec(WRITE, (const struct iovec __force __user*)vec, vlen, - ARRAY_SIZE(iovstack), &iov, &iter); + ret = import_iovec(WRITE, (const struct iovec __force __user *)vec, + vlen, ARRAY_SIZE(iovstack), &iov, &iter); if (ret < 0) return ret; file_start_write(file); @@ -5949,9 +5949,9 @@ ssize_t scst_writev(struct file *file, const struct iovec *vec, #elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) || \ (defined(CONFIG_SUSE_KERNEL) && \ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) - return vfs_writev(file, (const struct iovec __user*)vec, vlen, pos, 0); + return vfs_writev(file, (const struct iovec __user *)vec, vlen, pos, 0); #else - return vfs_writev(file, (const struct iovec __user*)vec, vlen, pos); + return vfs_writev(file, (const struct iovec __user *)vec, vlen, pos); #endif } EXPORT_SYMBOL(scst_writev);