[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160216022240.GA31825@kroah.com>
Date: Mon, 15 Feb 2016 18:22:40 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Colin King <colin.king@...onical.com>
Cc: Johnny Kim <johnny.kim@...el.com>,
Austin Shin <austin.shin@...el.com>,
Chris Park <chris.park@...el.com>,
Tony Cho <tony.cho@...el.com>, Glen Lee <glen.lee@...el.com>,
Leo Kim <leo.kim@...el.com>, linux-wireless@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: wilc1000: remove wilc1000_spi_ops as it is not
used
On Mon, Feb 15, 2016 at 03:18:27PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> building with gcc 6 I hit a build failure:
>
> CC drivers/staging/wilc1000/wilc_spi.o
> drivers/staging/wilc1000/wilc_spi.c:123:34: error: storage size of
> ‘wilc1000_spi_ops’ isn’t known
> static const struct wilc1000_ops wilc1000_spi_ops;
> ^~~~~~~~~~~~~~~~
> drivers/staging/wilc1000/wilc_spi.c:123:34: warning: ‘wilc1000_spi_ops’
> defined but not used [-Wunused-const-variable]
>
> Since wilc1000_spi_ops is not used, remove it and the driver builds.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/staging/wilc1000/wilc_spi.c | 2 --
> 1 file changed, 2 deletions(-)
Doesn't apply to my tree at all, are you sure you are using linux-next
for this?
thanks,
greg k-h
Powered by blists - more mailing lists