Projects
Eulaceura:Factory
mhvtl
_service:obs_scm:build-mhvtl-module.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:build-mhvtl-module.patch of Package mhvtl
diff -Nur mhvtl-1.7-0_release/kernel/mhvtl.c mhvtl-1.7-0_release-bak/kernel/mhvtl.c --- mhvtl-1.7-0_release/kernel/mhvtl.c 2022-03-10 07:49:13.000000000 +0800 +++ mhvtl-1.7-0_release-bak/kernel/mhvtl.c 2022-11-06 11:33:53.230714654 +0800 @@ -281,7 +281,7 @@ #endif ); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) static int mhvtl_b_ioctl(struct scsi_device *, unsigned int, void __user *); #else static int mhvtl_b_ioctl(struct scsi_device *, int, void __user *); @@ -727,7 +727,7 @@ /* * Block device ioctl */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0) static int mhvtl_b_ioctl(struct scsi_device *sdp, unsigned int cmd, void __user *arg) #else static int mhvtl_b_ioctl(struct scsi_device *sdp, int cmd, void __user *arg) diff -Nur mhvtl-1.7-0_release/kernel/backport.h mhvtl-1.7-0_release-bak/kernel/backport.h --- mhvtl-1.7-0_release/kernel/backport.h 2022-03-10 07:49:13.000000000 +0800 +++ mhvtl-1.7-0_release-bak/kernel/backport.h 2022-11-06 11:59:40.238852509 +0800 @@ -49,7 +49,7 @@ #define HAVE_UNLOCKED_IOCTL 1 #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0) /* https://patches.linaro.org/project/stable/patch/20210305120853.392925382@linuxfoundation.org/ */ /** * sysfs_emit - scnprintf equivalent, aware of PAGE_SIZE buffer.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2