All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *)
@ 2009-07-29 12:10 ` Nicolas Palix
  0 siblings, 0 replies; 14+ messages in thread
From: Nicolas Palix @ 2009-07-29 12:10 UTC (permalink / raw)
  To: gregkh, hjanssen, kernel-janitors, linux-kernel


Fix compilation warning by casting the const void *Buffer
variable into a void *.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
---
 drivers/staging/hv/Channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c
index 68f3442..854fa30 100644
--- a/drivers/staging/hv/Channel.c
+++ b/drivers/staging/hv/Channel.c
@@ -787,7 +787,7 @@ VmbusChannelSendPacket(
 	bufferList[0].Data = &desc;
 	bufferList[0].Length = sizeof(VMPACKET_DESCRIPTOR);
 
-	bufferList[1].Data = Buffer;
+	bufferList[1].Data = (void *)Buffer;
 	bufferList[1].Length = BufferLen;
 
 	bufferList[2].Data = &alignedData;
-- 
1.6.0.4


-- 
Nicolas Palix

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-07-29 20:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 12:10 [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *) Nicolas Palix
2009-07-29 12:10 ` Nicolas Palix
2009-07-29 13:02 ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void Greg KH
2009-07-29 13:02   ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *) Greg KH
2009-07-29 20:13   ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void Hank Janssen
2009-07-29 20:13     ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *) Hank Janssen
2009-07-29 20:44     ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void Greg KH
2009-07-29 20:44       ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *) Greg KH
2009-07-29 13:03 ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void Joe Perches
2009-07-29 13:03   ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *) Joe Perches
2009-07-29 13:08 ` Arnd Bergmann
2009-07-29 13:08   ` Arnd Bergmann
2009-07-29 13:13   ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void Greg KH
2009-07-29 13:13     ` [PATCH 4/4] Staging: hv: Fix warning by casting a (const void *) to (void *) Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.