]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: octeon: Use 'u64' instead of 'uint64_t' in union cvmx_pip_wqe_word2
authorLen Bao <len.bao@gmx.us>
Sun, 27 Jul 2025 10:10:47 +0000 (10:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Aug 2025 05:21:21 +0000 (07:21 +0200)
commit4a9e0777bf0beb00c6e96cf311bd7c4c255ab341
tree71208a2233378bb56d39d3c86f36e95a5d32c0f1
parent520c9fde09b557559fe512cc5b2ba689cd08567e
staging: octeon: Use 'u64' instead of 'uint64_t' in union cvmx_pip_wqe_word2

In the kernel type 'u64' is preferred over type 'uint64_t'. So, refactor
the 'union cvmx_pip_wqe_word2' to use the former. At the same time, take
advantage of this to align the bits quantity to improve readability.
Also, separate the structs with blank lines to gain readability.

Signed-off-by: Len Bao <len.bao@gmx.us>
Link: https://lore.kernel.org/r/20250727101052.41181-1-len.bao@gmx.us
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/octeon-stubs.h