|
From: Gleb C. <lna...@ya...> - 2023-04-04 08:48:10
|
Commit: 70dfb06 GitHub URL: https://github.com/SCST-project/scst/commit/70dfb06c402faeda5040bcdb6fbb3fe4dbfed07f Author: Gleb Chesnokov Date: 2023-04-04T11:47:44+03:00 Log Message: ----------- scst: Fix a checkpatch complaint about whitespace This patch fixes the following checkpatch warnings: WARNING:SPACE_BEFORE_TAB: please, no space before tabs. Modified Paths: -------------- scst/include/backport.h | 2 +- scst/src/dev_handlers/scst_vdisk.c | 4 ++-- scst_local/scst_local.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) =================================================================== diff --git a/scst/include/backport.h b/scst/include/backport.h index 59f1433..44ef2e9 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -583,7 +583,7 @@ static inline long get_user_pages_backport(unsigned long start, /* <linux/kobject_ns.h> */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) && \ +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) && \ (!defined(RHEL_RELEASE_CODE) || \ RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(7, 6)) /* diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 1dc9c8b..00d76ed 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3238,8 +3238,8 @@ static enum compl_status_e fileio_exec_async(struct vdisk_cmd_params *p) WARN_ON_ONCE(sg_cnt != cmd->sg_cnt); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 20, 0) || \ - (defined(RHEL_RELEASE_CODE) && \ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 20, 0) || \ + (defined(RHEL_RELEASE_CODE) && \ RHEL_RELEASE_CODE -0 >= RHEL_RELEASE_VERSION(8, 2)) iov_iter_bvec(&iter, dir, p->async.bvec, sg_cnt, total); #else diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index ce1996a..cda53aa 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -907,7 +907,7 @@ static int scst_local_queuecommand(struct Scsi_Host *host, sgl_count = scsi_sg_count(scmd); if (scsi_bidi_cmnd(scmd)) { -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && \ +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && \ (!defined(RHEL_RELEASE_CODE) || \ RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(8, 3)) /* Some of these symbols are only defined after 2.6.24 */ |