Skip to content

Commit ba5e9c4

Browse files
Insomnia1437jerzyjamroz
authored andcommitted
fix driver error on rhel95
1 parent 6faa42f commit ba5e9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mrmShared/linux/uio_mrf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ int mrf_mmap_physical(struct uio_info *info, struct vm_area_struct *vma)
125125

126126
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
127127
vm_flags_set(vma, VM_IO | VM_RESERVED);
128-
#elif defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 0x906)
128+
#elif defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 0x905)
129129
vm_flags_set(vma, VM_IO | VM_RESERVED);
130130
#else
131131
vma->vm_flags |= VM_IO | VM_RESERVED;

0 commit comments

Comments
 (0)