[PATCH 19/21] lib/zlib: update deflate to zlib 1.2.2.3 release
From: Greg Kroah-Hartman
Date: Thu Dec 03 2026 - 02:32:14 EST
Sync the kernel deflate code with the zlib 1.2.2.3 release.
There was no needed changes relevant for the kernel copy, so just update
the copyright year and the version number.
The unneeded changes were:
- added deflateTune()
- dropped the USE_DICT_HEAD variant of deflateSetDictionary()
but both of them are not in the kernel copy, so not an issue.
The kernel is now in sync with zlib commit 6b8233bfe00e ("zlib 1.2.2.3").
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
include/linux/zlib.h | 2 +-
include/linux/zutil.h | 2 +-
lib/zlib_deflate/deflate.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/zlib.h b/include/linux/zlib.h
index 95d90b51970c..2220e8f4bc12 100644
--- a/include/linux/zlib.h
+++ b/include/linux/zlib.h
@@ -32,7 +32,7 @@
#include <linux/zconf.h>
-/* zlib deflate based on ZLIB_VERSION "1.2.2.2" */
+/* zlib deflate based on ZLIB_VERSION "1.2.2.3" */
/* zlib inflate based on ZLIB_VERSION "1.2.3" */
/*
diff --git a/include/linux/zutil.h b/include/linux/zutil.h
index 3ad9a50e3e89..f55070c7b90d 100644
--- a/include/linux/zutil.h
+++ b/include/linux/zutil.h
@@ -1,5 +1,5 @@
/* zutil.h -- internal interface and configuration of the compression library
- * Copyright (C) 1995-2004 Jean-loup Gailly.
+ * Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
diff --git a/lib/zlib_deflate/deflate.c b/lib/zlib_deflate/deflate.c
index f7ff13a15434..b2c8860d6591 100644
--- a/lib/zlib_deflate/deflate.c
+++ b/lib/zlib_deflate/deflate.c
@@ -1,6 +1,6 @@
/* +++ deflate.c */
/* deflate.c -- compress data using the deflation algorithm
- * Copyright (C) 1995-2004 Jean-loup Gailly.
+ * Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
--
2.56.1