scst: Fix a checkpatch complaint about whitespace

This patch fixes the following checkpatch warnings:

    WARNING:SPACE_BEFORE_TAB: please, no space before tabs.
This commit is contained in:
Gleb Chesnokov
2023-03-02 22:51:11 +03:00
parent 9be09fd68b
commit 70dfb06c40
3 changed files with 4 additions and 4 deletions

View File

@@ -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))
/*

View File

@@ -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

View File

@@ -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 */