Re: [PATCH v4] staging: octeon: Remove port status typedefs

From: Greg KH

Date: Thu Jan 15 2026 - 09:49:15 EST


On Thu, Jan 15, 2026 at 06:09:42PM +0530, Karthikey Kadati wrote:
> Remove cvmx_pip_port_status_t and cvmx_pko_port_status_t typedefs and
> replace them with struct cvmx_pip_port_status and struct
> cvmx_pko_port_status to match Linux kernel coding style.
>
> This also updates the MIPS architecture headers to name the structs so
> they can be referenced by the staging driver, resolving the build failure
> found in v2.
>
> In v2, the anonymous struct definition in the header caused a compilation
> error when referenced in the driver. This patch names the structs in the
> headers and updates all usages to use the struct type directly, removing
> the typedefs as per coding style requirements.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Did the kernel test robot report that the typedefs need to be removed
from this driver?

confused,

greg k-h