From: Greg KH <gregkh@linuxfoundation.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Oliver Crumrine <ozlinux@hotmail.com>,
colin.i.king@gmail.com, sumitraartsy@gmail.com,
u.kleine-koenig@pengutronix.de, geert@linux-m68k.org,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Subject: Re: [PATCH v5 2/6] staging: octeon: remove typedef in enum cvmx_helper_interface_mode_t
Date: Mon, 30 Oct 2023 07:24:37 +0100 [thread overview]
Message-ID: <2023103049-daybed-abstain-bad9@gregkh> (raw)
In-Reply-To: <32e9ad3c-191e-4dd1-b1cc-07f7b93c3f28@roeck-us.net>
On Sun, Oct 29, 2023 at 10:17:21AM -0700, Guenter Roeck wrote:
> On Mon, Aug 28, 2023 at 11:39:07AM -0400, Oliver Crumrine wrote:
> > Remove typedef in enum cvmx_helper_interface_mode_t, and rename all instances
> > to cvmx_helper_interface_mode
> >
> > Signed-off-by: Oliver Crumrine <ozlinux@hotmail.com>
>
> In linux-next:
>
> Building mips:cavium_octeon_defconfig ... failed
> --------------
> Error log:
> drivers/staging/octeon/ethernet.c: In function 'cvm_oct_common_get_stats':
> drivers/staging/octeon/ethernet.c:204:37: error: storage size of 'rx_status' isn't known
> 204 | struct cvmx_pip_port_status rx_status;
> | ^~~~~~~~~
> drivers/staging/octeon/ethernet.c:205:37: error: storage size of 'tx_status' isn't known
> 205 | struct cvmx_pko_port_status tx_status;
> | ^~~~~~~~~
> drivers/staging/octeon/ethernet.c:205:37: warning: unused variable 'tx_status' [-Wunused-variable]
> drivers/staging/octeon/ethernet.c:204:37: warning: unused variable 'rx_status' [-Wunused-variable]
> 204 | struct cvmx_pip_port_status rx_status;
> | ^~~~~~~~~
> drivers/staging/octeon/ethernet.c: In function 'cvm_oct_probe':
> drivers/staging/octeon/ethernet.c:801:22: error: variable 'imode' has initializer but incomplete type
> 801 | enum cvmx_helper_interface_mode imode =
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/staging/octeon/ethernet.c:801:49: error: storage size of 'imode' isn't known
> 801 | enum cvmx_helper_interface_mode imode =
> | ^~~~~
> drivers/staging/octeon/ethernet.c:801:49: warning: unused variable 'imode' [-Wunused-variable]
>
> Bisect points to this patch. Bisect log attached.
>
> As usual, my apologies for the noise if this has already been reported
> and/or fixed.
It has not been reported, thanks for it, I'll go revert the offending
commits. And I need to figure out how to build this driver better, I
get no build-failures from anyone for it when stuff like this happens,
odd...
thanks,
greg k-h
next prev parent reply other threads:[~2023-10-30 6:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1693236450.git.ozlinux@hotmail.com>
2023-08-28 15:39 ` [PATCH v5 1/6] staging: octeon: remove typedef in enum cvmx_spi_mode_t Oliver Crumrine
2023-08-28 15:39 ` [PATCH v5 2/6] staging: octeon: remove typedef in enum cvmx_helper_interface_mode_t Oliver Crumrine
2023-10-29 17:17 ` Guenter Roeck
2023-10-30 6:24 ` Greg KH [this message]
2023-10-30 11:02 ` Dan Carpenter
2023-10-30 11:36 ` Greg KH
2023-10-30 14:10 ` Guenter Roeck
2023-08-28 15:39 ` [PATCH v5 3/6] staging: octeon: remove typedef in enum cvmx_pow_wait_t Oliver Crumrine
2023-08-28 15:39 ` [PATCH v5 4/6] staging: octeon: remove typedef in struct cvmx_pko_lock_t Oliver Crumrine
2023-08-28 15:39 ` [PATCH v5 5/6] staging: octeon: remove typedef in enum cvmx_pko_status_t Oliver Crumrine
2023-08-28 15:39 ` [PATCH v5 6/6] staging: octeon: remove typedef in structs cvmx_pip_port_status_t and cvmx_pko_port_status_t Oliver Crumrine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2023103049-daybed-abstain-bad9@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=colin.i.king@gmail.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linux@roeck-us.net \
--cc=ozlinux@hotmail.com \
--cc=sumitraartsy@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox