fix: copy_struct_from_user() for non-LTS branches < v4.19
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 16 Jul 2024 21:02:36 +0000 (17:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Jul 2024 14:26:12 +0000 (10:26 -0400)
commit8223cd0cc94c68502c997aa6958b4a768dadb5d8
treefc9194a10acf410120fae3f8641b0534ff23f721
parent318158206e408796bd8c90fce28aa6e51eb32a6a
fix: copy_struct_from_user() for non-LTS branches < v4.19

The 'linux/bits.h' was backported to LTS branches but is not available
on non-LTS before v4.19. Use 'asm/byteorder.h' instead to get the
__LITTLE_ENDIAN define which is available on all kernel versions we
support.

Change-Id: Icfe733ab944616b3bd6d0023ad0869eefb830b34
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/wrapper/bitops.h
This page took 0.025837 seconds and 4 git commands to generate.