mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
scst/include/backport.h: Improve the RHEL 9.2 backport
This was detected by smatch.
This commit is contained in:
@@ -177,7 +177,9 @@ enum {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0) && \
|
||||
(!defined(RHEL_RELEASE_CODE) || \
|
||||
RHEL_RELEASE_CODE -0 < RHEL_RELEASE_VERSION(9, 2))
|
||||
/*
|
||||
* See also commit 342a72a33407 ("block: Introduce the type blk_opf_t") # v6.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user