From: Gleb C. <lna...@ya...> - 2024-11-07 16:27:43
|
Commit: bf32b4a GitHub URL: https://github.com/SCST-project/scst/commit/bf32b4a369021f5ea3c5192afdccc0b7d6d25b24 Author: Dhananjay Kamble Date: 2024-11-07T19:25:13+03:00 Log Message: ----------- Replaced spaces with tabs in commit 8b3d72023d7cda04cc8c6a012102284d4aa584d1 Modified Paths: -------------- scst/include/backport.h | 4 ++-- scst/src/dev_handlers/scst_tape.c | 4 ++-- scst/src/scst_lib.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) =================================================================== diff --git a/scst/include/backport.h b/scst/include/backport.h index 47fa034..1f697d0 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -289,8 +289,8 @@ static inline void blkdev_put_backport(struct block_device *bdev, void *holder) #if LINUX_VERSION_CODE < KERNEL_VERSION(6, 7, 0) && \ (LINUX_VERSION_CODE >> 8 != KERNEL_VERSION(6, 6, 0) >> 8 || \ LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 23)) && \ - (!defined(RHEL_RELEASE_CODE) || \ - RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 5)) + (!defined(RHEL_RELEASE_CODE) || \ + RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 5)) /* * See also commit e719b4d15674 ("block: Provide bdev_open_* functions") # v6.7, v6.6.23. */ diff --git a/scst/src/dev_handlers/scst_tape.c b/scst/src/dev_handlers/scst_tape.c index a238860..c996445 100644 --- a/scst/src/dev_handlers/scst_tape.c +++ b/scst/src/dev_handlers/scst_tape.c @@ -174,8 +174,8 @@ static int tape_attach(struct scst_device *dev) ((dev->scsi_dev->lun << 5) & 0xe0) : 0), 0 /* Mode Page 0 */, #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0) || \ - (!defined(RHEL_RELEASE_CODE) || \ - RHEL_RELEASE_CODE -0 >= RHEL_RELEASE_VERSION(9, 5)) + (!defined(RHEL_RELEASE_CODE) || \ + RHEL_RELEASE_CODE -0 >= RHEL_RELEASE_VERSION(9, 5)) 0 /* Sub Page */, #endif buffer, buffer_size, diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index d3b0fc6..47b429a 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -6112,7 +6112,7 @@ EXPORT_SYMBOL(scst_open_bdev_by_path); void scst_release_bdev(struct scst_bdev_descriptor *bdev_desc) { #if LINUX_VERSION_CODE < KERNEL_VERSION(6, 9, 0) && \ - (!defined(RHEL_RELEASE_CODE) || \ + (!defined(RHEL_RELEASE_CODE) || \ RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 5)) struct bdev_handle *bdev_handle = bdev_desc->priv; |