]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: octeon: convert cvmx_pko_lock_t from typedef to plain enum
authorEric Wu <kunjinkao.jp@gmail.com>
Mon, 27 Apr 2026 15:54:24 +0000 (23:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2026 14:21:34 +0000 (16:21 +0200)
commit8b804dad84c2df382f1fa45484487dfd75100a4a
tree7f919fe3c31de676007723f5a84b66c9ceff1e43
parent3711d19ae08b455d9f5e3613685bb41554d79a27
staging: octeon: convert cvmx_pko_lock_t from typedef to plain enum

The Linux kernel coding style discourages the use of typedefs for
enums. Convert cvmx_pko_lock_t to a plain 'enum cvmx_pko_lock' and
update all users across the MIPS Octeon architecture code and the
staging driver stubs.

No functional change.

Signed-off-by: Eric Wu <kunjinkao.jp@gmail.com>
Link: https://patch.msgid.link/20260427155427.668540-5-kunjinkao.jp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/octeon/cvmx-pko.h
drivers/staging/octeon/octeon-stubs.h