From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C8AA1C32 for ; Mon, 30 Oct 2023 06:24:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dwiRR/bQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 366D2C433C9; Mon, 30 Oct 2023 06:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698647080; bh=2tB1guhBfYrZu5adq6I0lYKpY3+d8eVRbal6gHyEA0I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dwiRR/bQ0LdbjutMPX+kumE3h0Jj3Y8Q4xAaoyUVtiMbr8zqWeNHOX4JO/8hAIia6 fXC/ut8HuCd+NpKNYqfqQREujU9ulkcIhwYRwSQizLHbgDWXdkScOaO3a9WVhaLmrr tEBNhurAB0ksSllDicC3fGlWKQoV5ApztyuJQNbM= Date: Mon, 30 Oct 2023 07:24:37 +0100 From: Greg KH To: Guenter Roeck Cc: Oliver Crumrine , 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 Message-ID: <2023103049-daybed-abstain-bad9@gregkh> References: <32e9ad3c-191e-4dd1-b1cc-07f7b93c3f28@roeck-us.net> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > > 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