Tashfin Shakeer Rhythm 2d362c2cec lz4: Rename current variable to currentPos
Compiler gets confused between current variable in lz4.c and the
current macro in current.h.

This fixes the following compilation errors:

../lib/lz4/lz4.c:1145:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
 1145 |                                 U32 const current = (U32)(forwardIp - base);
      |                                           ^
../arch/arm64/include/asm/current.h:24:28: note: expanded from macro 'current'
   24 | #define current get_current()
      |                            ^
../lib/lz4/lz4.c:1145:15: error: conflicting types for 'get_current'
../arch/arm64/include/asm/current.h:24:17: note: expanded from macro 'current'
   24 | #define current get_current()
      |                 ^
../arch/arm64/include/asm/current.h:15:44: note: previous definition is here
   15 | static __always_inline struct task_struct *get_current(void)
      |                                            ^
../lib/lz4/lz4.c:1145:15: error: illegal initializer (only variables can be initialized)
 1145 |                                 U32 const current = (U32)(forwardIp - base);
      |                                           ^
../arch/arm64/include/asm/current.h:24:17: note: expanded from macro 'current'
   24 | #define current get_current()
      |                 ^

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: Helium-Studio <67852324+Helium-Studio@users.noreply.github.com>
2025-05-20 21:53:35 +03:00
2024-10-10 10:29:02 +00:00
2021-01-24 06:03:35 +00:00
2025-03-08 17:34:27 +02:00
2023-06-26 12:39:56 +03:00
2024-10-20 18:20:03 +03:00
2022-04-08 09:57:22 +00:00

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 1.5 GiB
Languages
C 98%
Assembly 1.3%
Makefile 0.3%