The patch titled
     spi: fix spidev for >sizeof(long)/32 devices
has been removed from the -mm tree.  Its filename was
     spi-fix-spidev-for-sizeoflong-32-devices.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: spi: fix spidev for >sizeof(long)/32 devices
From: Domen Puncer <[EMAIL PROTECTED]>

find_first_zero_bit accepts number of bits, not longs.

Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/spi/spidev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/spi/spidev.c~spi-fix-spidev-for-sizeoflong-32-devices 
drivers/spi/spidev.c
--- a/drivers/spi/spidev.c~spi-fix-spidev-for-sizeoflong-32-devices
+++ a/drivers/spi/spidev.c
@@ -484,7 +484,7 @@ static int spidev_probe(struct spi_devic
         * Reusing minors is fine so long as udev or mdev is working.
         */
        mutex_lock(&device_list_lock);
-       minor = find_first_zero_bit(minors, ARRAY_SIZE(minors));
+       minor = find_first_zero_bit(minors, N_SPI_MINORS);
        if (minor < N_SPI_MINORS) {
                spidev->dev.parent = &spi->dev;
                spidev->dev.class = &spidev_class;
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to