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

The Linux kernel coding style discourages the use of typedefs for
enums. Convert cvmx_pko_status_t to a plain 'enum cvmx_pko_status' 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-6-kunjinkao.jp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/cavium-octeon/executive/cvmx-pko.c
arch/mips/include/asm/octeon/cvmx-pko.h
drivers/staging/octeon/octeon-stubs.h