Hi.

This patch adds the error message of page_to_pfn().

Thanks
Ken'ichi Ohmichi

diff -puN makedumpfile.org/makedumpfile.c makedumpfile/makedumpfile.c
--- makedumpfile.org/makedumpfile.c     2006-10-11 13:13:44.000000000 +0900
+++ makedumpfile/makedumpfile.c 2006-10-11 13:13:55.000000000 +0900
@@ -1812,8 +1812,10 @@ page_to_pfn(struct DumpInfo *info, unsig
                        break;
                }
        }
-       if (!pfn)
+       if (!pfn) {
+               ERRMSG("Can't convert the address of page descriptor (%lx) to 
pfn.\n", page);
                return ULONG_MAX;
+       }
        return pfn;
 }
 
_
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to