From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] spi: spi.c: Provide cast to avoid warning Date: Mon, 10 Dec 2012 11:46:14 +0900 Message-ID: <20121210024613.GA10927@opensource.wolfsonmicro.com> References: <1355106738-14191-1-git-send-email-festevam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Fabio Estevam To: Fabio Estevam Return-path: Content-Disposition: inline In-Reply-To: <1355106738-14191-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Mon, Dec 10, 2012 at 12:32:18AM -0200, Fabio Estevam wrote: > From: Fabio Estevam > commit b3a223ee2d (spi: Remove SPI_BUFSIZ restriction on spi_write_then_read()) > introduced the following build warning: > drivers/spi/spi.c:1655:355: warning: comparison of distinct pointer types lacks a cast [enabled by default] > Provide the cast to avoid the warning. Grant already fixed that, perhaps he didn't push the change out yet or it's just that you're testing with -next and it didn't pick it up yet? ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d