]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - crypto/xor.c
Merge tag 'md-3.5' of git://neil.brown.name/md
[karo-tx-linux.git] / crypto / xor.c
index 84daa1111dad7531089aaae0bf512b2b86a39dfa..65c7b416b4a3e4d9e2ad08c41a1fcec06e222f8e 100644 (file)
@@ -136,9 +136,9 @@ calibrate_xor_blocks(void)
 
        if (fastest) {
                printk(KERN_INFO "xor: automatically using best "
-                       "checksumming function: %s\n",
-                       fastest->name);
+                                "checksumming function:\n");
                xor_speed(fastest);
+               goto out;
        } else {
                printk(KERN_INFO "xor: measuring software checksum speed\n");
                XOR_TRY_TEMPLATES;
@@ -153,6 +153,7 @@ calibrate_xor_blocks(void)
 
 #undef xor_speed
 
+ out:
        free_pages((unsigned long)b1, 2);
 
        active_template = fastest;