diff mbox

Siano 10236 SPI drv minor casting issue

Message ID 951145.97764.qm@web110816.mail.gq1.yahoo.com (mailing list archive)
State Superseded
Headers show

Commit Message

Uri Shkolnik Jan. 15, 2009, 1:38 p.m. UTC
# HG changeset patch
# User Uri Shkolnik <uris@siano-ms.com>
# Date 1232026755 -7200
# Node ID 50775d37b85469c33f4023203a6c54394163c4bd
# Parent  794f836ffef2b3300056c2f602768ad76ae25877
Fix minor casting issue

From: Uri Shkolnik <uris@siano-ms.com>

Fix minor casting issue in the SPI core driver

Priority: normal

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>




      
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff -r 794f836ffef2 -r 50775d37b854 linux/drivers/media/dvb/siano/smsspicommon.c
--- a/linux/drivers/media/dvb/siano/smsspicommon.c	Thu Jan 15 15:34:26 2009 +0200
+++ b/linux/drivers/media/dvb/siano/smsspicommon.c	Thu Jan 15 15:39:15 2009 +0200
@@ -244,10 +244,11 @@  void smsspi_common_transfer_msg(struct _
 		if ((unused_bytes <= 0) && (bytes_to_transfer > 0)) {
 			len = min(bytes_to_transfer, RX_PACKET_SIZE);
 			PRN_DBG((TXT("transfering block of %d bytes\n"), len));
-			dev->cb.transfer_data_cb(dev->phy_context, txbuf,
-						 tx_phy_addr,
-						 (char *)buf->ptr + offset,
-						 buf->phy_addr + offset, len);
+			dev->cb.transfer_data_cb(dev->phy_context,
+				(unsigned char *)txbuf,
+				tx_phy_addr,
+				(unsigned char *)buf->ptr + offset,
+				buf->phy_addr + offset, len);
 		}
 		missing_bytes =
 		    smsspi_common_find_msg(dev, buf, offset, len,