ehca: improved ehca debug format
PATCH 2/2 ehca: improved ehca debug format
Hi,
here is the 2nd patch of ehca with a small format improvement in ehca debug function. Thanks!
Nam Nguyen
Signed-off-by Hoang-Nam Nguyen <[email protected]>
---
ehca_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/ehca/ehca_tools.h 2006-10-02 18:29:53.000000000 +0200 renamed from drivers/infiniband/hw/ehca/ehca_tools.h 2006-10-02 22:08:57.000000000 +0200 +1 -1
@@ -117,7 +117,7 @@ extern int ehca_debug_level; unsigned int l = (unsigned int)(len); \ unsigned char *deb = (unsigned char*)(adr); \ for (x = 0; x < l; x += 16) { \ - printk("EHCA_DMP:%s" format \ + printk("EHCA_DMP:%s " format \ " adr=%p ofs=%04x %016lx %016lx\n", \ __FUNCTION__, ##args, deb, x, \ *((u64 *)&deb[0]), *((u64 *)&deb[8])); \
drivers/infiniband/hw/ehca/ehca_tools.h +1 -1
@@ -117,7 +117,7 @@ extern int ehca_debug_level;unsigned int l = (unsigned int )(len); \unsigned char *deb = (unsigned char *)(adr); \for (x =0 ; x < l; x +=16 ) { \ -printk ("EHCA_DMP:%s" format \ +printk ("EHCA_DMP:%s " format \" adr=%p ofs=%04x %016lx %016lx\n" , \ __FUNCTION__, ##args, deb, x, \ *((u64 *)&deb[0 ]), *((u64 *)&deb[8 ])); \
Roland Dreier
AppliedThanks, applied both patches.