[packages/lin_tape] - this is actually 5.10?
baggins
baggins at pld-linux.org
Mon May 3 22:36:14 CEST 2021
commit efe9d60cc61a9d236fd52bcf30f0f914599570f9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon May 3 22:35:57 2021 +0200
- this is actually 5.10?
kernel-5.12.patch | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/kernel-5.12.patch b/kernel-5.12.patch
index bec0408..1d6371a 100644
--- a/kernel-5.12.patch
+++ b/kernel-5.12.patch
@@ -5,7 +5,7 @@ diff -ur lin_tape-3.0.56/lin_tape_ioctl_tape.c lin_tape-3.0.56-5.12/lin_tape_ioc
srq->retries = 0;
#endif
req->timeout = timeout;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,10,0)
blk_execute_rq(req->q, NULL, req, 1);
+#else
+ blk_execute_rq(NULL, req, 1);
@@ -29,7 +29,7 @@ diff -ur lin_tape-3.0.56/lin_tape_scsi_config.h lin_tape-3.0.56-5.12/lin_tape_sc
{
return single_open(file, tape_read_proc, NULL);
}
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,10,0)
static struct file_operations tape_proc_ops = {
.owner = THIS_MODULE,
.open = tape_open_proc,
@@ -52,7 +52,7 @@ diff -ur lin_tape-3.0.56/lin_tape_scsi_config.h lin_tape-3.0.56-5.12/lin_tape_sc
{
return single_open(file, changer_read_proc, NULL);
}
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,10,0)
static struct file_operations changer_proc_ops = {
.owner = THIS_MODULE,
.open = changer_open_proc,
@@ -75,7 +75,7 @@ diff -ur lin_tape-3.0.56/lin_tape_scsi_config.h lin_tape-3.0.56-5.12/lin_tape_sc
{
return single_open(file, status_read_proc, NULL);
}
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,10,0)
static struct file_operations status_proc_ops = {
.owner = THIS_MODULE,
.open = status_open_proc,
@@ -101,7 +101,7 @@ diff -ur lin_tape-3.0.56/lower.c lin_tape-3.0.56-5.12/lower.c
rq->timeout = pfo_cmd->timeout;
rq->end_io_data = pfo_cmd;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,10,0)
blk_execute_rq(rq->q, NULL, rq, 1);
+#else
+ blk_execute_rq(NULL, rq, 1);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lin_tape.git/commitdiff/efe9d60cc61a9d236fd52bcf30f0f914599570f9
More information about the pld-cvs-commit
mailing list