Skip to contentSkip to conversation

Typo?

parisc-linux [email protected] 3 participants 4 messages Nov 29, 2002 – Dec 3, 2002 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

Here attached some diff which seems to be typo.

Joel

********************************************************************************
Controlez mieux votre consommation Internet...surfez Tiscali Complete...http://tiscali.complete.be

arch/parisc/kernel/sba_iommu.c +1 -1
diff -NaurX dontdiff linux-2.4.20-pa8t/arch/parisc/kernel/sba_iommu.c linux-2.4.20-pa9/arch/parisc/kernel/sba_iommu.c
@@ -1056,7 +1056,7 @@
 			printk(KERN_DEBUG " %2d : %08lx/%05x %p/%05x\n",
 				nents,
 				(unsigned long) sg_dma_address(startsg), cnt,
-				sg_virt_addr(startsg), startsg->length
+				sg_virt_address(startsg), startsg->length
 		);
 #else
 		DBG_RUN_SG(" %d : %08lx/%05x %p/%05x\n",
#1 lore raw
Quoted 1 line · On Fri, Nov 29, 2002 at 10:57:50AM +0100, [email protected] wrote:

Here attached some diff which seems to be typo.

patch looks correct to me. grant?

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#2 lore raw
Quoted 4 lines · Matthew Wilcox
Quoted 1 line · On Fri, Nov 29, 2002 at 10:57:50AM +0100, [email protected] wrote:

Here attached some diff which seems to be typo.

patch looks correct to me. grant?

yup - a typo in the debug code. I'll commit Joels patch shortly.

thanks!
grant

#3 lore raw
In reply to Matthew Wilcox
Quoted 4 lines · Matthew Wilcox
Quoted 1 line · On Fri, Nov 29, 2002 at 10:57:50AM +0100, [email protected] wrote:

Here attached some diff which seems to be typo.

patch looks correct to me. grant?

I was off on holiday...I guess I didn't advertise that well enough.

I just committed Joel's patch and just now realized it's *WRONG*. I don't know why I thought sg_virt_address() was correct before. Brain fart.

grundler <520>fgrep sg_virt include/asm-parisc/scatterlist.h #define sg_virt_addr(sg) (((sg)->address) ? ((sg)->address) : \

I'll fix my mess. *sigh*.
BTW, I'll fix pci-dma.c too. I've got the B180 to test it on tomorrow.

thanks!
grant