Patch "spi: fix pointer-integer size mismatch warning" has been added to the 3.14-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
spi: fix pointer-integer size mismatch warning
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
spi-fix-pointer-integer-size-mismatch-warning.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e1bde3b11fedace5042f0232339da90bc85666afMon Sep 17 00:00:00 2001
From: SeongJae Park <[email protected]>
Date: Tue, 4 Feb 2014 15:58:09 +0900
Subject: spi: fix pointer-integer size mismatch warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: SeongJae Park <[email protected]>
commit e1bde3b11fedace5042f0232339da90bc85666af upstream.
Fix the pointer-integer size mismatch warning below:
drivers/spi/spi-gpio.c: In function ‘spi_gpio_setup’:
drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
cs = (unsigned int) spi->controller_data;
^
--- drivers/spi/spi-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-gpio.c +1 -1
@@ -250,7 +250,7 @@ static int spi_gpio_setup(struct spi_dev/* * ... otherwise, take it from spi->controller_data */ - cs = (unsigned int ) spi->controller_data; + cs = (unsigned int )(uintptr_t ) spi->controller_data; }if (!spi->controller_state) {
Patches currently in stable-queue which might be from [email protected] are
queue-3.14/spi-fix-pointer-integer-size-mismatch-warning.patch