lkml.org 
[lkml]   [2004]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.4.28-pre2] drivers/ide/pci/sc1200.c cast-as-lvalue fix
Fix for cast-as-lvalue in drivers/ide/pci/sc1200.c. Backport from 2.6.

/Mikael

--- linux-2.4.28-pre2/drivers/ide/pci/sc1200.c.~1~ 2003-06-14 13:30:22.000000000 +0200
+++ linux-2.4.28-pre2/drivers/ide/pci/sc1200.c 2004-08-28 14:58:54.000000000 +0200
@@ -418,7 +418,7 @@
ss = kmalloc(sizeof(sc1200_saved_state_t), GFP_KERNEL);
if (ss == NULL)
return -ENOMEM;
- (sc1200_saved_state_t *)hwif->config_data = ss;
+ hwif->config_data = (unsigned long)ss;
}
ss = (sc1200_saved_state_t *)hwif->config_data;
//
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.203 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site