]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/tcrypt.c
[ARM] 4258/2: Support for dynticks in idle loop
[linux-2.6-omap-h63xx.git] / crypto / tcrypt.c
index f5e9da319ece70cf6823a94947c3ee4f08273d89..8eaa5aa210b0d1983f40d57584c52f04889a88e4 100644 (file)
@@ -768,7 +768,7 @@ static void test_deflate(void)
        tv = (void *)tvmem;
 
        tfm = crypto_alloc_comp("deflate", 0, CRYPTO_ALG_ASYNC);
-       if (tfm == NULL) {
+       if (IS_ERR(tfm)) {
                printk("failed to load transform for deflate\n");
                return;
        }