summarylogtreecommitdiffstats
path: root/replace-Z-with-z.patch
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2022-05-13 17:13:22 +0200
committerTomasz Maciej Nowak2022-05-13 17:13:22 +0200
commit308b50ac18f4a3a16b419235744d4f7c4396dae9 (patch)
tree9c17194d1427f788138dcfb89cee52f1f8720a75 /replace-Z-with-z.patch
parent8f6a6668d31638a2d8b35ce66864d2166ec24e84 (diff)
downloadaur-308b50ac18f4a3a16b419235744d4f7c4396dae9.tar.gz
upgpkg: vtunerc-dkms 1.4-12
Add kernel 5.17 compat and use git to manage patches
Diffstat (limited to 'replace-Z-with-z.patch')
-rw-r--r--replace-Z-with-z.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/replace-Z-with-z.patch b/replace-Z-with-z.patch
deleted file mode 100644
index 7c6d10f6237c..000000000000
--- a/replace-Z-with-z.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-According to kernel trace and printf.3, Z shouldn't be used and is
-synonym to z. So replace accordingly.
---- a/vtunerc_ctrldev.c
-+++ b/vtunerc_ctrldev.c
-@@ -59,11 +59,11 @@ static ssize_t vtunerc_ctrldev_write(struct file *filp, const char *buff,
- // allocate a bigger buffer
- ctx->kernel_buf = kmalloc(len, GFP_KERNEL);
- if (!ctx->kernel_buf) {
-- printk(KERN_ERR "vtunerc%d: unable to allocate buffer of %Zu bytes\n", ctx->idx, len);
-+ printk(KERN_ERR "vtunerc%d: unable to allocate buffer of %zu bytes\n", ctx->idx, len);
- return -ENOMEM;
- }
- ctx->kernel_buf_size = len;
-- printk(KERN_INFO "vtunerc%d: allocated buffer of %Zu bytes\n", ctx->idx, len);
-+ printk(KERN_INFO "vtunerc%d: allocated buffer of %zu bytes\n", ctx->idx, len);
- }
-
- if (down_interruptible(&ctx->tswrite_sem)) {
---- a/vtunerc_main.c
-+++ b/vtunerc_main.c
-@@ -406,7 +406,7 @@ static void __exit vtunerc_exit(void)
- // free allocated buffer
- if(ctx->kernel_buf != NULL) {
- kfree(ctx->kernel_buf);
-- printk(KERN_INFO "vtunerc%d: deallocated buffer of %Zu bytes\n", idx, ctx->kernel_buf_size);
-+ printk(KERN_INFO "vtunerc%d: deallocated buffer of %zu bytes\n", idx, ctx->kernel_buf_size);
- ctx->kernel_buf = NULL;
- ctx->kernel_buf_size = 0;
-