Re: [PATCH 1/2] staging: octeon: Fix warnings due to introduction of new typedefs

From: Dan Carpenter
Date: Mon Oct 23 2023 - 10:38:44 EST


On Sat, Oct 21, 2023 at 02:03:39AM +0200, Jonathan Bergh wrote:
> Removed typedefs for various structs and enums and then make the
> requisite changes in the inline functions defined later in the same
> file.
>
> Signed-off-by: Jonathan Bergh <bergh.jonathan@xxxxxxxxx>
> ---
> drivers/staging/octeon/octeon-stubs.h | 48 +++++++++++++--------------

These octeon stubs are just so that it can be compile tested on x86.

The real code is in arch/ somewhere. It's Cavium stuff. If you change
this without changing the arch/ code you're going to break the actual
user.

regards,
dan carpenter