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

The Linux kernel coding style discourages the use of typedefs for
structs. Convert cvmx_pip_port_status_t to a plain 'struct
cvmx_pip_port_status' and update all users across the MIPS Octeon
architecture code and the staging driver.

No functional change.

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