The patch titled spi-filesystem-api-tweaks has been added to the -mm tree. Its filename is spi-filesystem-api-tweaks.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: spi-filesystem-api-tweaks From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/spi/spidev.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/spi/spidev.c~spi-filesystem-api-tweaks drivers/spi/spidev.c --- a/drivers/spi/spidev.c~spi-filesystem-api-tweaks +++ a/drivers/spi/spidev.c @@ -89,7 +89,7 @@ spidev_read(struct file *filp, char __us if (count > bufsiz) return -EMSGSIZE; - spidev = (struct device_data *)filp->private_data; + spidev = filp->private_data; spi = spidev->spi; mutex_lock(&spidev->buf_lock); @@ -125,7 +125,7 @@ spidev_write(struct file *filp, const ch if (count > bufsiz) return -EMSGSIZE; - spidev = (struct device_data *)filp->private_data; + spidev = filp->private_data; spi = spidev->spi; mutex_lock(&spidev->buf_lock); @@ -174,7 +174,7 @@ spidev_ioctl(struct inode *inode, struct if (err) return -EFAULT; - dev_data = (struct device_data *)filp->private_data; + dev_data = filp->private_data; spi = dev_data->spi; switch (cmd) { _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch fix-warning-in-device_add_attrs.patch git-dvb.patch kthread-api-conversion-for-dvb_frontend-and-av7110-fix.patch git-libata-all.patch sis-warning-fixes.patch git-md-accel-fixes.patch git-md-accel-warning-fixes.patch git-netdev-all.patch revert-drivers-net-tulip-dmfe-support-basic-carrier-detection.patch git-sh.patch git-block.patch git-cryptodev-fixup.patch mm-vm_insert_pfn-tidy.patch swiotlb-uninlinings.patch spi-filesystem-api-tweaks.patch workqueue-dont-save-interrupts-in-run_workqueue-update.patch knfsd-sunrpc-teach-svc_sendto-to-deal-with-ipv6-addresses-tidy.patch knfsd-sunrpc-support-ipv6-addresses-in-rpc-servers-udp-receive-path-tidy.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html