#ifdef DEBUG
 /* for print_hex_dumps with line references */
-#define xstr(s) str(s)
-#define str(s) #s
 #define debug(format, arg...) printk(format, arg)
 #else
 #define debug(format, arg...)
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "aead enc shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "aead enc shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "aead dec shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "aead dec shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "aead givenc shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "aead givenc shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
               keylen, enckeylen, authkeylen);
        printk(KERN_ERR "split_key_len %d split_key_pad_len %d\n",
               ctx->split_key_len, ctx->split_key_pad_len);
-       print_hex_dump(KERN_ERR, "key in @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "key in @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, key, keylen, 1);
 #endif
 
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ctx.key@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ctx.key@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, ctx->key,
                       ctx->split_key_pad_len + enckeylen, 1);
 #endif
        u32 *desc;
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "key in @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "key in @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, key, keylen, 1);
 #endif
 
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ablkcipher enc shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR,
+                      "ablkcipher enc shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
        }
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ablkcipher dec shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR,
+                      "ablkcipher dec shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
        aead_unmap(jrdev, edesc, req);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "assoc  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "assoc  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->assoc),
                       req->assoclen , 1);
-       print_hex_dump(KERN_ERR, "dstiv  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dstiv  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src) - ivsize,
                       edesc->src_nents ? 100 : ivsize, 1);
-       print_hex_dump(KERN_ERR, "dst    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dst    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                       edesc->src_nents ? 100 : req->cryptlen +
                       ctx->authsize + 4, 1);
                 offsetof(struct aead_edesc, hw_desc));
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "dstiv  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dstiv  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, req->iv,
                       ivsize, 1);
-       print_hex_dump(KERN_ERR, "dst    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dst    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->dst),
                       req->cryptlen, 1);
 #endif
                err = -EBADMSG;
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "iphdrout@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "iphdrout@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4,
                       ((char *)sg_virt(req->assoc) - sizeof(struct iphdr)),
                       sizeof(struct iphdr) + req->assoclen +
                       ctx->authsize + 36, 1);
        if (!err && edesc->sec4_sg_bytes) {
                struct scatterlist *sg = sg_last(req->src, edesc->src_nents);
-               print_hex_dump(KERN_ERR, "sglastout@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "sglastout@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(sg),
                        sg->length + ctx->authsize + 16, 1);
        }
        }
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "dstiv  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dstiv  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, req->info,
                       edesc->src_nents > 1 ? 100 : ivsize, 1);
-       print_hex_dump(KERN_ERR, "dst    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dst    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                       edesc->dst_nents > 1 ? 100 : req->nbytes, 1);
 #endif
        }
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "dstiv  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dstiv  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, req->info,
                       ivsize, 1);
-       print_hex_dump(KERN_ERR, "dst    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dst    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                       edesc->dst_nents > 1 ? 100 : req->nbytes, 1);
 #endif
 #ifdef DEBUG
        debug("assoclen %d cryptlen %d authsize %d\n",
              req->assoclen, req->cryptlen, authsize);
-       print_hex_dump(KERN_ERR, "assoc  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "assoc  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->assoc),
                       req->assoclen , 1);
-       print_hex_dump(KERN_ERR, "presciv@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "presciv@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, req->iv,
                       edesc->src_nents ? 100 : ivsize, 1);
-       print_hex_dump(KERN_ERR, "src    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "src    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                        edesc->src_nents ? 100 : req->cryptlen, 1);
-       print_hex_dump(KERN_ERR, "shrdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "shrdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sh_desc,
                       desc_bytes(sh_desc), 1);
 #endif
 #ifdef DEBUG
        debug("assoclen %d cryptlen %d authsize %d\n",
              req->assoclen, req->cryptlen, authsize);
-       print_hex_dump(KERN_ERR, "assoc  @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "assoc  @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->assoc),
                       req->assoclen , 1);
-       print_hex_dump(KERN_ERR, "presciv@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "presciv@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, req->iv, ivsize, 1);
-       print_hex_dump(KERN_ERR, "src    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "src    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                        edesc->src_nents > 1 ? 100 : req->cryptlen, 1);
-       print_hex_dump(KERN_ERR, "shrdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "shrdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sh_desc,
                       desc_bytes(sh_desc), 1);
 #endif
        int len, sec4_sg_index = 0;
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "presciv@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "presciv@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, req->info,
                       ivsize, 1);
-       print_hex_dump(KERN_ERR, "src    @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "src    @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                       edesc->src_nents ? 100 : req->nbytes, 1);
 #endif
        init_aead_job(ctx->sh_desc_enc, ctx->sh_desc_enc_dma, edesc, req,
                      all_contig, true);
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "aead jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "aead jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, edesc->hw_desc,
                       desc_bytes(edesc->hw_desc), 1);
 #endif
                return PTR_ERR(edesc);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "dec src@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "dec src@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                       req->cryptlen, 1);
 #endif
        init_aead_job(ctx->sh_desc_dec,
                      ctx->sh_desc_dec_dma, edesc, req, all_contig, false);
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "aead jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "aead jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, edesc->hw_desc,
                       desc_bytes(edesc->hw_desc), 1);
 #endif
                return PTR_ERR(edesc);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "giv src@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "giv src@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, sg_virt(req->src),
                       req->cryptlen, 1);
 #endif
        init_aead_giv_job(ctx->sh_desc_givenc,
                          ctx->sh_desc_givenc_dma, edesc, req, contig);
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "aead jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "aead jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, edesc->hw_desc,
                       desc_bytes(edesc->hw_desc), 1);
 #endif
        edesc->iv_dma = iv_dma;
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ablkcipher sec4_sg@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ablkcipher sec4_sg@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, edesc->sec4_sg,
                       sec4_sg_bytes, 1);
 #endif
        init_ablkcipher_job(ctx->sh_desc_enc,
                ctx->sh_desc_enc_dma, edesc, req, iv_contig);
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ablkcipher jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ablkcipher jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, edesc->hw_desc,
                       desc_bytes(edesc->hw_desc), 1);
 #endif
                ctx->sh_desc_dec_dma, edesc, req, iv_contig);
        desc = edesc->hw_desc;
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ablkcipher jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ablkcipher jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, edesc->hw_desc,
                       desc_bytes(edesc->hw_desc), 1);
 #endif
 
 
 #ifdef DEBUG
 /* for print_hex_dumps with line references */
-#define xstr(s) str(s)
-#define str(s) #s
 #define debug(format, arg...) printk(format, arg)
 #else
 #define debug(format, arg...)
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ahash update shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR,
+                      "ahash update shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ahash update first shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR,
+                      "ahash update first shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ahash final shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ahash final shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ahash finup shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ahash finup shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ahash digest shdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR,
+                      "ahash digest shdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc,
                       desc_bytes(desc), 1);
 #endif
                         LDST_SRCDST_BYTE_CONTEXT);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "key_in@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "key_in@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, key_in, *keylen, 1);
-       print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                wait_for_completion_interruptible(&result.completion);
                ret = result.err;
 #ifdef DEBUG
-               print_hex_dump(KERN_ERR, "digested key@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR,
+                              "digested key@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, key_in,
                               digestsize, 1);
 #endif
 #ifdef DEBUG
        printk(KERN_ERR "split_key_len %d split_key_pad_len %d\n",
               ctx->split_key_len, ctx->split_key_pad_len);
-       print_hex_dump(KERN_ERR, "key in @"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "key in @"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, key, keylen, 1);
 #endif
 
                return -ENOMEM;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ctx.key@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ctx.key@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, ctx->key,
                       ctx->split_key_pad_len, 1);
 #endif
        kfree(edesc);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ctx@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ctx@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
                       ctx->ctx_len, 1);
        if (req->result)
-               print_hex_dump(KERN_ERR, "result@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "result@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, req->result,
                               digestsize, 1);
 #endif
        kfree(edesc);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ctx@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ctx@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
                       ctx->ctx_len, 1);
        if (req->result)
-               print_hex_dump(KERN_ERR, "result@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "result@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, req->result,
                               digestsize, 1);
 #endif
        kfree(edesc);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ctx@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ctx@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
                       ctx->ctx_len, 1);
        if (req->result)
-               print_hex_dump(KERN_ERR, "result@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "result@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, req->result,
                               digestsize, 1);
 #endif
        kfree(edesc);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "ctx@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "ctx@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
                       ctx->ctx_len, 1);
        if (req->result)
-               print_hex_dump(KERN_ERR, "result@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "result@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, req->result,
                               digestsize, 1);
 #endif
                append_seq_out_ptr(desc, state->ctx_dma, ctx->ctx_len, 0);
 
 #ifdef DEBUG
-               print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, desc,
                               desc_bytes(desc), 1);
 #endif
                *next_buflen = last_buflen;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "buf@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "buf@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1);
-       print_hex_dump(KERN_ERR, "next buf@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "next buf@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, next_buf,
                       *next_buflen, 1);
 #endif
                                                digestsize);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                                                digestsize);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                                                digestsize);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
        edesc->src_nents = 0;
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                map_seq_out_ptr_ctx(desc, jrdev, state, ctx->ctx_len);
 
 #ifdef DEBUG
-               print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, desc,
                               desc_bytes(desc), 1);
 #endif
                *next_buflen = 0;
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "buf@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "buf@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1);
-       print_hex_dump(KERN_ERR, "next buf@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "next buf@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, next_buf,
                       *next_buflen, 1);
 #endif
                                                digestsize);
 
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), 1);
 #endif
 
                map_seq_out_ptr_ctx(desc, jrdev, state, ctx->ctx_len);
 
 #ifdef DEBUG
-               print_hex_dump(KERN_ERR, "jobdesc@"xstr(__LINE__)": ",
+               print_hex_dump(KERN_ERR, "jobdesc@"__stringify(__LINE__)": ",
                               DUMP_PREFIX_ADDRESS, 16, 4, desc,
                               desc_bytes(desc), 1);
 #endif
                sg_copy(next_buf, req->src, req->nbytes);
        }
 #ifdef DEBUG
-       print_hex_dump(KERN_ERR, "next buf@"xstr(__LINE__)": ",
+       print_hex_dump(KERN_ERR, "next buf@"__stringify(__LINE__)": ",
                       DUMP_PREFIX_ADDRESS, 16, 4, next_buf,
                       *next_buflen, 1);
 #endif