Skip to contentSkip to conversation

: create function with right arguments for sbp2

PATCH New Juan Quintela 1 participant 1 message Jan 4, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : create function with right arguments for sbp2

Hi
The prototypes for this two functions was changed, but not the definitions. This fix is at least needed for compiling, I don't have the hardware and haven't tested it. Looking at the 2.4.21-pre2 changed, it looks good.

Later, Juan.

drivers/ieee1394/sbp2.c +2 -2
diff -urNp --exclude-from=/home/mitica/quintela/config/misc/dontdiff t2/drivers/ieee1394/sbp2.c t1/drivers/ieee1394/sbp2.c
@@ -1511,7 +1511,7 @@ static void sbp2_remove_device(struct sb
  * physical dma in hardware). Mostly just here for debugging...
  */
 static int sbp2_handle_physdma_write(struct hpsb_host *host, int nodeid, int destid, quadlet_t *data,
-                                     u64 addr, unsigned int length)
+                                     u64 addr, unsigned int length, u16 flags)
 {
 
         /*
@@ -1527,7 +1527,7 @@ static int sbp2_handle_physdma_write(str
  * physical dma in hardware). Mostly just here for debugging...
  */
 static int sbp2_handle_physdma_read(struct hpsb_host *host, int nodeid, quadlet_t *data,
-                                    u64 addr, unsigned int length)
+                                    u64 addr, unsigned int length, u16 flags)
 {
 
         /*
Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy